cleverca22
4/25/2017 - 6:51 PM

1-default.nix

{ stdenv, libxcb, pkgconfig, cmake }:

stdenv.mkDerivation rec {
      name = "VulkanExamples";
      buildDepends = [ cmake libxcb pkgconfig ];
}
with import <nixpkgs> {};

{
  foo = callPackage ./3-foo.nix {};
}
with import <nixpkgs> {}; 

let
  self = stdenv.mkDerivation {
      name = "VulkanExamples";
      buildDepends = [ cmake libxcb pkgconfig ];
  };
in self
with import <nixpkgs> {}; 

stdenv.mkDerivation {
      name = "VulkanExamples";
      buildDepends = [ cmake libxcb pkgconfig ];
}