Avoid evaulating nixpkgs again for localSystem == crossSystem
This commit is contained in:
parent
307a261dfa
commit
ea5a24596e
|
@ -207,10 +207,7 @@
|
||||||
let f = import nixpkgs;
|
let f = import nixpkgs;
|
||||||
in forAllSystems ({ system, localSystem, crossSystem }:
|
in forAllSystems ({ system, localSystem, crossSystem }:
|
||||||
if localSystem == crossSystem then
|
if localSystem == crossSystem then
|
||||||
f {
|
nixpkgs.legacyPackages.${system}.extend self.overlay
|
||||||
inherit system;
|
|
||||||
overlays = [ self.overlay ];
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
f {
|
f {
|
||||||
inherit localSystem;
|
inherit localSystem;
|
||||||
|
|
Loading…
Reference in New Issue