diff options
author | Ricardo M. Correia <rcorreia@wizy.org> | 2014-05-22 11:34:47 +0200 |
---|---|---|
committer | Ricardo M. Correia <rcorreia@wizy.org> | 2014-05-22 19:46:07 +0200 |
commit | f9daf5021464e8443ab21312f15a66b04774d8fc (patch) | |
tree | a41424bf8b522ca1be768695473d7f127c57c08e /pkgs/applications/networking/p2p/transmission | |
parent | 1ab0cd12423bbfc6c396f29fed7d2101f9fce430 (diff) | |
download | nixlib-f9daf5021464e8443ab21312f15a66b04774d8fc.tar nixlib-f9daf5021464e8443ab21312f15a66b04774d8fc.tar.gz nixlib-f9daf5021464e8443ab21312f15a66b04774d8fc.tar.bz2 nixlib-f9daf5021464e8443ab21312f15a66b04774d8fc.tar.lz nixlib-f9daf5021464e8443ab21312f15a66b04774d8fc.tar.xz nixlib-f9daf5021464e8443ab21312f15a66b04774d8fc.tar.zst nixlib-f9daf5021464e8443ab21312f15a66b04774d8fc.zip |
transmission: Fix compilation due to missing systemd dependency
Diffstat (limited to 'pkgs/applications/networking/p2p/transmission')
-rw-r--r-- | pkgs/applications/networking/p2p/transmission/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/networking/p2p/transmission/default.nix b/pkgs/applications/networking/p2p/transmission/default.nix index 0f1ce2b2efad..f260e3eb30ae 100644 --- a/pkgs/applications/networking/p2p/transmission/default.nix +++ b/pkgs/applications/networking/p2p/transmission/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig, intltool, file, makeWrapper -, openssl, curl, libevent, inotifyTools +, openssl, curl, libevent, inotifyTools, systemd , enableGTK3 ? false, gtk3 }: @@ -18,7 +18,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ pkgconfig intltool file openssl curl libevent inotifyTools ] - ++ optionals enableGTK3 [ gtk3 makeWrapper ]; + ++ optionals enableGTK3 [ gtk3 makeWrapper ] + ++ optional stdenv.isLinux systemd; preConfigure = '' sed -i -e 's|/usr/bin/file|${file}/bin/file|g' configure |