* Minor cleanup.
svn path=/nixpkgs/trunk/; revision=33165
This commit is contained in:
parent
75207a6a90
commit
1148fc2f76
@ -17,15 +17,14 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags =
|
makeFlags =
|
||||||
lib.concatStringsSep " "
|
lib.optional (daemonUser != false) "RPCUSER=\"${daemonUser}\""
|
||||||
(lib.optional (daemonUser != false) "RPCUSER=\"${daemonUser}\""
|
|
||||||
++ lib.optional (daemonUID != false) "DAEMON_UID=${toString daemonUID}"
|
++ lib.optional (daemonUID != false) "DAEMON_UID=${toString daemonUID}"
|
||||||
++ lib.optional (daemonGID != false) "DAEMON_GID=${toString daemonGID}");
|
++ lib.optional (daemonGID != false) "DAEMON_GID=${toString daemonGID}";
|
||||||
|
|
||||||
buildInputs = [ tcpWrapper ];
|
buildInputs = [ tcpWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/sbin" && ensureDir "$out/man/man8" && \
|
mkdir -p "$out/sbin" "$out/man/man8"
|
||||||
make install BASEDIR=$out
|
make install BASEDIR=$out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user