Merge pull request #123570 from stephank/fix-heimdall-darwin
heimdall: fix non-GUI build on darwin
This commit is contained in:
commit
7f29e5fbcf
|
@ -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