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-25 00:04:59 +0200 |
commit | 7d134fd6bfcdf597062b89c19b8bfe4d2583e40f (patch) | |
tree | 7d682760419f9fa81d673e2c36347f8cb6d379cb | |
parent | 71c71a991bbaaf8e6707fc74893a076f0fcced9b (diff) | |
download | NUR-7d134fd6bfcdf597062b89c19b8bfe4d2583e40f.tar.gz NUR-7d134fd6bfcdf597062b89c19b8bfe4d2583e40f.tar.zst NUR-7d134fd6bfcdf597062b89c19b8bfe4d2583e40f.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 0720a568..1f43cdd9 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; |