1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-27 09:29:27 +03:00

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; });
devShell = import ./shell {
inherit self system;
inherit self system extern overrides;
};
}
);

View File

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