diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/default.nix b/default.nix index c85ef72a..f2ea79e2 100644 --- a/default.nix +++ b/default.nix @@ -1,6 +1,6 @@ { system ? builtins.currentSystem, ... }@args: -with (import <nixpkgs> { inherit system; }).lib; +with (import (import ./nixpkgs-path.nix) { inherit system; }).lib; { machines = mapAttrsRecursiveCond (m: !(m ? build)) (path: attrs: @@ -8,9 +8,9 @@ with (import <nixpkgs> { inherit system; }).lib; ) (import ./machines { inherit system; }); pkgs = import ./pkgs { - pkgs = import <nixpkgs> args; + pkgs = import (import ./nixpkgs-path.nix) args; }; # Inherit upstream lib until we have our own lib. - lib = import <nixpkgs/lib>; + lib = import "${import ./nixpkgs-path.nix}/lib"; } |