about summary refs log tree commit diff
path: root/pkgs/applications/networking/irc
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2020-09-12 06:25:56 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2020-09-12 06:58:28 -0500
commitf41b7f74d86ffe6b89773c999457966d4431911f (patch)
tree1dcbbafae5cb128fdab7b3621e56f9298cdff9a4 /pkgs/applications/networking/irc
parent7ac43898feffccfd8cdb176a8f6d0268fbc80e1b (diff)
downloadnixlib-f41b7f74d86ffe6b89773c999457966d4431911f.tar
nixlib-f41b7f74d86ffe6b89773c999457966d4431911f.tar.gz
nixlib-f41b7f74d86ffe6b89773c999457966d4431911f.tar.bz2
nixlib-f41b7f74d86ffe6b89773c999457966d4431911f.tar.lz
nixlib-f41b7f74d86ffe6b89773c999457966d4431911f.tar.xz
nixlib-f41b7f74d86ffe6b89773c999457966d4431911f.tar.zst
nixlib-f41b7f74d86ffe6b89773c999457966d4431911f.zip
communi: qmakeFlags
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r--pkgs/applications/networking/irc/communi/default.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix
index 6cb6f2c2ef67..f3a840e23d0f 100644
--- a/pkgs/applications/networking/irc/communi/default.nix
+++ b/pkgs/applications/networking/irc/communi/default.nix
@@ -19,16 +19,17 @@ stdenv.mkDerivation rec {
 
   preConfigure = ''
     export QMAKEFEATURES=${libcommuni}/features
-    qmakeFlags="$qmakeFlags \
-      COMMUNI_INSTALL_PREFIX=$out \
-      COMMUNI_INSTALL_BINS=$out/bin \
-      COMMUNI_INSTALL_PLUGINS=$out/lib/communi/plugins \
-      COMMUNI_INSTALL_ICONS=$out/share/icons/hicolor \
-      COMMUNI_INSTALL_DESKTOP=$out/share/applications \
-      COMMUNI_INSTALL_THEMES=$out/share/communi/themes
-    "
   '';
 
+  qmakeFlags = [
+    "COMMUNI_INSTALL_PREFIX=${placeholder "out"}"
+    "COMMUNI_INSTALL_BINS=${placeholder "out"}/bin"
+    "COMMUNI_INSTALL_PLUGINS=${placeholder "out"}/lib/communi/plugins"
+    "COMMUNI_INSTALL_ICONS=${placeholder "out"}/share/icons/hicolor"
+    "COMMUNI_INSTALL_DESKTOP=${placeholder "out"}/share/applications"
+    "COMMUNI_INSTALL_THEMES=${placeholder "out"}/share/communi/themes"
+  ];
+
   postInstall = stdenv.lib.optionalString stdenv.isLinux ''
     substituteInPlace "$out/share/applications/communi.desktop" \
       --replace "/usr/bin" "$out/bin"