diff options
author | Markus Wamser <wamserma@users.noreply.github.com> | 2020-12-04 16:16:10 +0100 |
---|---|---|
committer | Markus S. Wamser <github-dev@mail2013.wamser.eu> | 2020-12-04 16:23:59 +0100 |
commit | 3e27c4662a9508ad7a9173f2c0af9dcf21a1c922 (patch) | |
tree | da47d9813776aa90a81d942699ecdf4a5e90e983 /pkgs/applications/networking/p2p | |
parent | c494e2799966fc678d988e135fa833b2d920445d (diff) | |
download | nixlib-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.nix | 9 |
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 = '' |