summary refs log tree commit diff
path: root/pkgs/tools/misc/heimdall
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-18 21:27:32 +0200
committerStéphan Kochen <git@stephank.nl>2021-05-18 21:27:32 +0200
commit4731287e190f35f55a41eb4017c9e4b315aab9f1 (patch)
tree6f6d39f0db0a5cebfb23f1b4f2b99004a9d81785 /pkgs/tools/misc/heimdall
parentde8dbb21fbf740927ad2888bac59215a92a64ee0 (diff)
downloadnixpkgs-4731287e190f35f55a41eb4017c9e4b315aab9f1.tar
nixpkgs-4731287e190f35f55a41eb4017c9e4b315aab9f1.tar.gz
nixpkgs-4731287e190f35f55a41eb4017c9e4b315aab9f1.tar.bz2
nixpkgs-4731287e190f35f55a41eb4017c9e4b315aab9f1.tar.lz
nixpkgs-4731287e190f35f55a41eb4017c9e4b315aab9f1.tar.xz
nixpkgs-4731287e190f35f55a41eb4017c9e4b315aab9f1.tar.zst
nixpkgs-4731287e190f35f55a41eb4017c9e4b315aab9f1.zip
heimdall: fix non-GUI build on darwin
Diffstat (limited to 'pkgs/tools/misc/heimdall')
-rw-r--r--pkgs/tools/misc/heimdall/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/heimdall/default.nix b/pkgs/tools/misc/heimdall/default.nix
index e934bbb5c84..3dcefa8b2d0 100644
--- a/pkgs/tools/misc/heimdall/default.nix
+++ b/pkgs/tools/misc/heimdall/default.nix
@@ -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