Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Forked from MaikKlein/default.nix
Last active April 25, 2017 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/5034c42fc84c1507bba3968a474ed760 to your computer and use it in GitHub Desktop.
Save cleverca22/5034c42fc84c1507bba3968a474ed760 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "VulkanExamples";
buildDepends = [ cmake libxcb pkgconfig ];
}
with import <nixpkgs> {};
let
self = stdenv.mkDerivation {
name = "VulkanExamples";
buildDepends = [ cmake libxcb pkgconfig ];
};
in self
with import <nixpkgs> {};
{
foo = callPackage ./3-foo.nix {};
}
{ 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