systemd-boot: use mktemp from coreutils in installer
People running nixos-install in non-NixOS environments occasionally run into the mktemp builtin not being loaded into bash (yes, even NixOS' bash). Rather than try and figure out why exactly that is happening, just use a known good mktemp from coreutils.
This commit is contained in:
parent
193eb32e3b
commit
5a2f238b9a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ let
|
|||
netbootxyz = if cfg.netbootxyz.enable then pkgs.netbootxyz-efi else "";
|
||||
|
||||
copyExtraFiles = pkgs.writeShellScript "copy-extra-files" ''
|
||||
empty_file=$(mktemp)
|
||||
empty_file=$(${pkgs.coreutils}/bin/mktemp)
|
||||
|
||||
${concatStrings (mapAttrsToList (n: v: ''
|
||||
${pkgs.coreutils}/bin/install -Dp "${v}" "${efi.efiSysMountPoint}/"${escapeShellArg n}
|
||||
|
|
Loading…
Reference in a new issue