mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
Fix use of deprecated stdenv.isDarwin
This commit is contained in:
1 parent
725ea35e41
commit
42afa78080
1 file changed
+2
-2
+2
-2
@@ -35,7 +35,7 @@ let
|
||||
cp -r install-cli.nix cli.nix default.nix disk-deactivate lib $out/share/disko
|
||||
|
||||
scripts=(disko)
|
||||
${lib.optionalString (!stdenv.isDarwin) ''
|
||||
${lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
scripts+=(disko-install)
|
||||
''}
|
||||
|
||||
@@ -52,7 +52,7 @@ let
|
||||
coreutils
|
||||
xcp
|
||||
]
|
||||
++ lib.optional (!stdenv.isDarwin) nixos-install-tools
|
||||
++ lib.optional (!stdenv.hostPlatform.isDarwin) nixos-install-tools
|
||||
)
|
||||
}
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user