fix system deprecated
This commit is contained in:
parent
c87d351456
commit
61b054463d
1 changed files with 3 additions and 3 deletions
|
|
@ -175,7 +175,8 @@
|
||||||
overlays = {
|
overlays = {
|
||||||
unstable-packages = final: prev: {
|
unstable-packages = final: prev: {
|
||||||
unstable = import nixpkgs-unstable {
|
unstable = import nixpkgs-unstable {
|
||||||
inherit (prev) system config;
|
localSystem = prev.stdenv.hostPlatform;
|
||||||
|
inherit (prev) config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -222,7 +223,7 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
inherit system specialArgs;
|
inherit specialArgs;
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -234,7 +235,6 @@
|
||||||
]);
|
]);
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
inherit system;
|
|
||||||
hostPlatform = lib.mkDefault system;
|
hostPlatform = lib.mkDefault system;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue