mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
* Removed makePortmap; use makeOverridable.
svn path=/nixpkgs/trunk/; revision=14631
This commit is contained in:
parent
32d1c53b10
commit
3be3abe6ab
@ -1,10 +1,11 @@
|
||||
{ fetchurl, stdenv, lib, tcpWrapper
|
||||
, daemonUser, daemonUID, daemonGID }:
|
||||
, daemonUser ? false, daemonUID ? false, daemonGID ? false }:
|
||||
|
||||
assert daemonUser -> (!daemonUID && !daemonGID);
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "portmap-6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://neil.brown.name/portmap/${name}.tgz";
|
||||
sha256 = "1pj13ll4mbfwjwpn3fbg03qq9im6v2i8fcpa3ffp4viykz9j1j02";
|
||||
|
@ -6454,15 +6454,9 @@ let
|
||||
inherit fetchurl stdenv apacheHttpd jdk;
|
||||
};
|
||||
|
||||
# This function is typically called by the NixOS Upstart job to specify the
|
||||
# right UID/GID for `portmap'.
|
||||
makePortmap = { daemonUser ? false, daemonGID ? false, daemonUID ? false }:
|
||||
(import ../servers/portmap {
|
||||
inherit fetchurl stdenv lib tcpWrapper
|
||||
daemonUser daemonGID daemonUID;
|
||||
});
|
||||
|
||||
portmap = makePortmap {};
|
||||
portmap = makeOverridable (import ../servers/portmap) {
|
||||
inherit fetchurl stdenv lib tcpWrapper;
|
||||
};
|
||||
|
||||
mysql4 = import ../servers/sql/mysql {
|
||||
inherit fetchurl stdenv ncurses zlib perl;
|
||||
|
Loading…
Reference in New Issue
Block a user