about summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p
diff options
context:
space:
mode:
authorMarkus Wamser <wamserma@users.noreply.github.com>2020-12-04 16:16:10 +0100
committerMarkus S. Wamser <github-dev@mail2013.wamser.eu>2020-12-04 16:23:59 +0100
commit3e27c4662a9508ad7a9173f2c0af9dcf21a1c922 (patch)
treeda47d9813776aa90a81d942699ecdf4a5e90e983 /pkgs/applications/networking/p2p
parentc494e2799966fc678d988e135fa833b2d920445d (diff)
downloadnixlib-3e27c4662a9508ad7a9173f2c0af9dcf21a1c922.tar
nixlib-3e27c4662a9508ad7a9173f2c0af9dcf21a1c922.tar.gz
nixlib-3e27c4662a9508ad7a9173f2c0af9dcf21a1c922.tar.bz2
nixlib-3e27c4662a9508ad7a9173f2c0af9dcf21a1c922.tar.lz
nixlib-3e27c4662a9508ad7a9173f2c0af9dcf21a1c922.tar.xz
nixlib-3e27c4662a9508ad7a9173f2c0af9dcf21a1c922.tar.zst
nixlib-3e27c4662a9508ad7a9173f2c0af9dcf21a1c922.zip
opentracker: combine calls to substituteInPlace (refactoring)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r--pkgs/applications/networking/p2p/opentracker/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/applications/networking/p2p/opentracker/default.nix b/pkgs/applications/networking/p2p/opentracker/default.nix
index 581560ae78b7..8f63f27cf4d2 100644
--- a/pkgs/applications/networking/p2p/opentracker/default.nix
+++ b/pkgs/applications/networking/p2p/opentracker/default.nix
@@ -12,12 +12,9 @@ stdenv.mkDerivation {
   buildInputs = [ libowfat zlib ];
 
   postPatch = ''
-    substituteInPlace Makefile --replace \
-      'LIBOWFAT_HEADERS=$(PREFIX)/libowfat' \
-      'LIBOWFAT_HEADERS=${libowfat}/include/libowfat'
-    substituteInPlace Makefile --replace \
-      'LIBOWFAT_LIBRARY=$(PREFIX)/libowfat' \
-      'LIBOWFAT_LIBRARY=${libowfat}/lib'
+    substituteInPlace Makefile \
+      --replace 'LIBOWFAT_HEADERS=$(PREFIX)/libowfat' 'LIBOWFAT_HEADERS=${libowfat}/include/libowfat' \
+      --replace 'LIBOWFAT_LIBRARY=$(PREFIX)/libowfat' 'LIBOWFAT_LIBRARY=${libowfat}/lib'
   '';
 
   installPhase = ''