Skip to content

Instantly share code, notes, and snippets.

@drchaos
Last active September 26, 2019 09:08
Show Gist options
  • Save drchaos/49800996e2adcf605cab7ce8c630564a to your computer and use it in GitHub Desktop.
Save drchaos/49800996e2adcf605cab7ce8c630564a to your computer and use it in GitHub Desktop.
{ tryEval, pkgConfig, callPackage, fetchgitPrivate }:
let src = <path>;
lib1 = callPackage ./lib1.nix { inherit src; };
lib2 = callPackage ./lib2.nix { inherit src; };
lib3 = callPackage ./lib3.nix { inherit src;
inherit lib1;
inherit lib2; };
lib4 = callPackage ./lib4.nix { inherit src;
inherit lib3;
inherit lib1; };
bin1 = callPackage ./lib5.nix { inherit src;
inherit lib3;
inherit lib1; };
bin2 = callPackage ./bin1.nix { inherit src;
inherit lib4;
inherit lib3;
inherit lib1;
inherit lib2; };
in { inherit lib3 lib1 lib2 bin1 bin2 lib4;
grpPackages = { inherit lib1 lib2 lib3 bin1 bin2; };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment