From 7d134fd6bfcdf597062b89c19b8bfe4d2583e40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 24 Apr 2020 01:33:03 +0200 Subject: Fix default.nix for NUR --- default.nix | 8 +++----- 1 file 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 @@ -{ sources ? import ./nix/sources.nix }: +{ sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs {} }: let - pkgs = import sources.nixpkgs {}; - pkgs_ = pkgs; - mypkgs = import ./pkgs { pkgs = pkgs_; }; + mypkgs = pkgs.callPackage ./pkgs {}; in { - lib = import ./lib { pkgs = pkgs_; }; + lib = pkgs.callPackage ./lib {}; modules = import ./modules; overlays = import ./overlays; pkgs = mypkgs; -- cgit v1.2.3