diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-24 01:33:03 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-24 01:33:03 +0200 |
commit | ee1cf4a4d4a03383b035231d8f4d4ed5335c1353 (patch) | |
tree | 1cee95bfc256b45a4ce4069b4b99ab4d6ad9f48c | |
parent | 6d5ce738c006168d557f2685f003f0346d083723 (diff) | |
download | Nix-ee1cf4a4d4a03383b035231d8f4d4ed5335c1353.tar.gz Nix-ee1cf4a4d4a03383b035231d8f4d4ed5335c1353.tar.zst Nix-ee1cf4a4d4a03383b035231d8f4d4ed5335c1353.zip |
Fix default.nix for NUR
-rw-r--r-- | default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/default.nix b/default.nix index 0720a56..1f43cdd 100644 --- a/default.nix +++ b/default.nix | |||
@@ -1,11 +1,9 @@ | |||
1 | { sources ? import ./nix/sources.nix }: | 1 | { sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs {} }: |
2 | let | 2 | let |
3 | pkgs = import sources.nixpkgs {}; | 3 | mypkgs = pkgs.callPackage ./pkgs {}; |
4 | pkgs_ = pkgs; | ||
5 | mypkgs = import ./pkgs { pkgs = pkgs_; }; | ||
6 | in | 4 | in |
7 | { | 5 | { |
8 | lib = import ./lib { pkgs = pkgs_; }; | 6 | lib = pkgs.callPackage ./lib {}; |
9 | modules = import ./modules; | 7 | modules = import ./modules; |
10 | overlays = import ./overlays; | 8 | overlays = import ./overlays; |
11 | pkgs = mypkgs; | 9 | pkgs = mypkgs; |