nixos-rebuild-ng: enable shell files by default

This commit is contained in:
Thiago Kenji Okada
2024-12-05 13:09:26 +00:00
parent a987599ac1
commit da566994ea
+1 -2
View File
@@ -1,6 +1,5 @@
{
lib,
stdenv,
installShellFiles,
mkShell,
nix,
@@ -9,7 +8,7 @@
runCommand,
scdoc,
withNgSuffix ? true,
withShellFiles ? (stdenv.buildPlatform.canExecute stdenv.hostPlatform),
withShellFiles ? true,
}:
let
executable = if withNgSuffix then "nixos-rebuild-ng" else "nixos-rebuild";