diff options
author | Daniel Barter <danielbarter@gmail.com> | 2024-04-04 10:08:32 -0700 |
---|---|---|
committer | Daniel Barter <danielbarter@gmail.com> | 2024-04-04 10:34:52 -0700 |
commit | 1d34371bead2c341963ea6e1f8ad3267d31d7af8 (patch) | |
tree | 7091211d97f95099a876d014863d0bbbae0d1b9e | |
parent | 8063d6bd8bf64bfd10cb975b73b158a956d40a9b (diff) |
refind: fixing cross compiling
-rw-r--r-- | pkgs/tools/bootloaders/refind/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/bootloaders/refind/default.nix b/pkgs/tools/bootloaders/refind/default.nix index 1a0b333b70a7..9574632f4bad 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 ]} ''; |