shell: get extern and overrides to pass to mkpkgs

This commit is contained in:
Pacman99 2021-03-27 09:21:27 -07:00
parent 562f476fb5
commit e10fd4b319
2 changed files with 6 additions and 2 deletions

View File

@ -89,7 +89,7 @@
(os.mkPackages { inherit pkgs; }); (os.mkPackages { inherit pkgs; });
devShell = import ./shell { devShell = import ./shell {
inherit self system; inherit self system extern overrides;
}; };
} }
); );

View File

@ -1,8 +1,12 @@
{ self ? (import ../compat).defaultNix { self ? (import ../compat).defaultNix
, system ? builtins.currentSystem , system ? builtins.currentSystem
, extern ? import ../extern { inherit (self) inputs; }
, overrides ? import ../overrides
}: }:
let let
pkgs = (self.lib.os.mkPkgs).${system}; pkgs = (self.lib.os.mkPkgs {
inherit overrides extern;
}).${system};
inherit (pkgs) lib; inherit (pkgs) lib;