shell: get extern and overrides to pass to mkpkgs
This commit is contained in:
parent
562f476fb5
commit
e10fd4b319
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue