summary refs log tree commit diff
path: root/pkgs/development/libraries/libappindicator
diff options
context:
space:
mode:
authorWilli Butz <wbutz@cyberfnord.de>2017-08-02 18:16:05 +0200
committerRobin Gloster <mail@glob.in>2017-08-04 04:21:09 +0200
commite75b2f03d06a3c169cd154875a3a5ba99f489ec0 (patch)
treee41a916d089b9f1871190638f1462acf926ae03d /pkgs/development/libraries/libappindicator
parenta8e4f34f40711dabcb20da032058901014e79bb6 (diff)
downloadnixpkgs-e75b2f03d06a3c169cd154875a3a5ba99f489ec0.tar
nixpkgs-e75b2f03d06a3c169cd154875a3a5ba99f489ec0.tar.gz
nixpkgs-e75b2f03d06a3c169cd154875a3a5ba99f489ec0.tar.bz2
nixpkgs-e75b2f03d06a3c169cd154875a3a5ba99f489ec0.tar.lz
nixpkgs-e75b2f03d06a3c169cd154875a3a5ba99f489ec0.tar.xz
nixpkgs-e75b2f03d06a3c169cd154875a3a5ba99f489ec0.tar.zst
nixpkgs-e75b2f03d06a3c169cd154875a3a5ba99f489ec0.zip
libappindicator: fix substituteInPlace usage
Diffstat (limited to 'pkgs/development/libraries/libappindicator')
-rw-r--r--pkgs/development/libraries/libappindicator/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libappindicator/default.nix b/pkgs/development/libraries/libappindicator/default.nix
index 8f005d6a5a4..3a26dd407e4 100644
--- a/pkgs/development/libraries/libappindicator/default.nix
+++ b/pkgs/development/libraries/libappindicator/default.nix
@@ -43,8 +43,10 @@ in stdenv.mkDerivation rec {
     substituteInPlace configure.ac \
       --replace '=codegendir pygtk-2.0' '=codegendir pygobject-2.0'
     autoconf
-    substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \
-      --replace /usr/bin/file ${file}/bin/file
+    for f in {configure,ltmain.sh,m4/libtool.m4}; do
+      substituteInPlace $f \
+        --replace /usr/bin/file ${file}/bin/file
+    done
   '';
 
   configureFlags = [