We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32794f3 commit f69ec52Copy full SHA for f69ec52
flake.nix
@@ -15,6 +15,7 @@
15
system: let
16
name = "cpp-opengl";
17
pkgs = nixpkgs.legacyPackages.${system};
18
+ nativeBuildInputs = with pkgs; [gcc];
19
buildInputs = with pkgs; [
20
glfw
21
glew
@@ -26,11 +27,11 @@
26
27
default = pkgs.stdenv.mkDerivation {
28
src = ./.;
29
makeFlags = ["PREFIX=$(out)"];
- inherit name buildInputs;
30
+ inherit name buildInputs nativeBuildInputs;
31
};
32
33
devShells.default = pkgs.mkShell {
34
35
36
}
37
);
0 commit comments