summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-08-31 00:42:02 -0700
committerBen Sima <ben@bsima.me>2019-08-31 00:42:02 -0700
commit19732ae8d1da6347ab48c1123758fde6ace7a734 (patch)
treeb96f7ca6ea748806735d04f30ce6594837e4517f /default.nix
parentc72ae999c2850a01901e94ff22956921571cbb73 (diff)
pack: a common bild function
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index 543f571..ab8089b 100644
--- a/default.nix
+++ b/default.nix
@@ -1,4 +1,7 @@
+let
+ nixpkgs = import "${builtins.fetchTarball (import ./pack/nixpkgs.nix)}" {};
+in
{
-depo = import ./depo;
-pack = import ./pack;
+ depo = import ./depo;
+ pack = import ./pack { inherit nixpkgs; };
}