mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 02:28:40 +00:00
heimdall: fix non-GUI build on darwin
This commit is contained in:
parent
de8dbb21fb
commit
4731287e19
@ -31,7 +31,7 @@ mkDerivation {
|
||||
substituteInPlace libpit/CMakeLists.txt --replace "-std=gnu++11" ""
|
||||
'';
|
||||
|
||||
installPhase = lib.optionalString stdenv.isDarwin ''
|
||||
installPhase = lib.optionalString (stdenv.isDarwin && enableGUI) ''
|
||||
mkdir -p $out/Applications
|
||||
mv bin/heimdall-frontend.app $out/Applications/heimdall-frontend.app
|
||||
wrapQtApp $out/Applications/heimdall-frontend.app/Contents/MacOS/heimdall-frontend
|
||||
|
Loading…
Reference in New Issue
Block a user