mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
refind: fixing cross compiling
This commit is contained in:
parent
8063d6bd8b
commit
1d34371bea
@ -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 ]}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user