about summary refs log tree commit diff
path: root/pkgs/tools/bootloaders
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-04-05 06:01:46 +0000
committerGitHub <noreply@github.com>2024-04-05 06:01:46 +0000
commit110bd4dbeef553a1190af1571b94a5d8b7a7114c (patch)
tree63d1ad4c0bc8f14dbb7063d20375cdf6482bbad0 /pkgs/tools/bootloaders
parent2ff2fe727d50d8b8bd0ec8719ba4302f1eaa5e60 (diff)
parent9a0c25978d78416219718437fd7e618668d9ad74 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/tools/bootloaders')
-rw-r--r--pkgs/tools/bootloaders/refind/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/bootloaders/refind/default.nix b/pkgs/tools/bootloaders/refind/default.nix
index c6a1de973d312..0a33305d10f7a 100644
--- a/pkgs/tools/bootloaders/refind/default.nix
+++ b/pkgs/tools/bootloaders/refind/default.nix
@@ -5,6 +5,7 @@
 , nixosTests
 , efibootmgr
 , openssl
+, withSbsigntool ? false # currently, cross compiling sbsigntool is broken, so default to false
 , sbsigntool
 , makeWrapper
 }:
@@ -112,7 +113,7 @@ stdenv.mkDerivation rec {
 
   postInstall = ''
     wrapProgram $out/bin/refind-install \
-      --prefix PATH : ${lib.makeBinPath [ efibootmgr openssl sbsigntool ]}
+      --prefix PATH : ${lib.makeBinPath ( [ efibootmgr openssl ] ++ lib.optional withSbsigntool sbsigntool )}
     wrapProgram $out/bin/refind-mvrefind \
       --prefix PATH : ${lib.makeBinPath [ efibootmgr ]}
   '';