-
-
Save cleverca22/5034c42fc84c1507bba3968a474ed760 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
stdenv.mkDerivation { | |
name = "VulkanExamples"; | |
buildDepends = [ cmake libxcb pkgconfig ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
self = stdenv.mkDerivation { | |
name = "VulkanExamples"; | |
buildDepends = [ cmake libxcb pkgconfig ]; | |
}; | |
in self |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
{ | |
foo = callPackage ./3-foo.nix {}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, libxcb, pkgconfig, cmake }: | |
stdenv.mkDerivation rec { | |
name = "VulkanExamples"; | |
buildDepends = [ cmake libxcb pkgconfig ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment