git.iko.soy/typeable/nixpkgs
on master help sign in
transmission: fix build with systemd 230
commit70286f13483aac4f3d25cca2692c16e13eecb464 authorobadz <obadz-git@obadz.com> dateSat 28 May 2016, 13:23 (11 years ago) parent9f6fc25
1 file changed+4−2
pkgs/applications/networking/p2p/transmission/default.nix+4−2
pkgs/applications/networking/p2p/transmission/default.nix+4−2
@@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
2121 ++ optionals enableGTK3 [ gtk3 makeWrapper ]
2222 ++ optional stdenv.isLinux systemd;
2323
24− preConfigure = ''
25− sed -i -e 's|/usr/bin/file|${file}/bin/file|g' configure
24+ postPatch = ''
25+ substituteInPlace ./configure \
26+ --replace "libsystemd-daemon" "libsystemd" \
27+ --replace "/usr/bin/file" "${file}/bin/file"
2628 '';
2729
2830 configureFlags = [ "--with-systemd-daemon" ]