aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-24 01:33:03 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-24 01:33:03 +0200
commitee1cf4a4d4a03383b035231d8f4d4ed5335c1353 (patch)
tree1cee95bfc256b45a4ce4069b4b99ab4d6ad9f48c
parent6d5ce738c006168d557f2685f003f0346d083723 (diff)
downloadNix-ee1cf4a4d4a03383b035231d8f4d4ed5335c1353.tar.gz
Nix-ee1cf4a4d4a03383b035231d8f4d4ed5335c1353.tar.zst
Nix-ee1cf4a4d4a03383b035231d8f4d4ed5335c1353.zip
Fix default.nix for NUR
-rw-r--r--default.nix8
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 {} }:
2let 2let
3 pkgs = import sources.nixpkgs {}; 3 mypkgs = pkgs.callPackage ./pkgs {};
4 pkgs_ = pkgs;
5 mypkgs = import ./pkgs { pkgs = pkgs_; };
6in 4in
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;