Merge pull request #171247 from K900/systemd-boot-coreutils-mktemp

systemd-boot: use mktemp from coreutils in installer
main
Rick van Schijndel 2 years ago committed by GitHub
commit ec4686ee14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix

@ -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…
Cancel
Save