0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/systemd-boot: Fix regression in builder script (#323962)

This commit is contained in:
Julien Malka 2024-09-14 19:15:42 +02:00 committed by GitHub
commit d9d07251f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,8 @@ let
systemdBootBuilder = pkgs.substituteAll rec { systemdBootBuilder = pkgs.substituteAll rec {
name = "systemd-boot"; name = "systemd-boot";
dir = "bin";
src = checkedSource; src = checkedSource;
isExecutable = true; isExecutable = true;
@ -86,7 +88,7 @@ let
finalSystemdBootBuilder = pkgs.writeScript "install-systemd-boot.sh" '' finalSystemdBootBuilder = pkgs.writeScript "install-systemd-boot.sh" ''
#!${pkgs.runtimeShell} #!${pkgs.runtimeShell}
${systemdBootBuilder} "$@" ${systemdBootBuilder}/bin/systemd-boot "$@"
${cfg.extraInstallCommands} ${cfg.extraInstallCommands}
''; '';
in { in {