From f9daf5021464e8443ab21312f15a66b04774d8fc Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Thu, 22 May 2014 11:34:47 +0200 Subject: [PATCH] transmission: Fix compilation due to missing systemd dependency --- pkgs/applications/networking/p2p/transmission/default.nix | 5 +++-- 1 file 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