mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
rabbitmq-server: use provided getconf
This commit is contained in:
parent
f94c9c5459
commit
037e5d863b
@ -1,17 +1,11 @@
|
|||||||
{ stdenv, fetchurl, runCommand
|
{ stdenv, fetchurl, runCommand
|
||||||
, erlang, python, libxml2, libxslt, xmlto
|
, erlang, python, libxml2, libxslt, xmlto
|
||||||
, docbook_xml_dtd_45, docbook_xsl, zip, unzip, rsync
|
, docbook_xml_dtd_45, docbook_xsl, zip, unzip, rsync
|
||||||
|
|
||||||
, AppKit, Carbon, Cocoa
|
, AppKit, Carbon, Cocoa
|
||||||
|
, getconf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
# we only need that one glibc binary (28k instead of 2.7M)
|
|
||||||
getconf = runCommand "getconf" {} ''
|
|
||||||
install -D ${stdenv.lib.getBin stdenv.cc.libc}/bin/getconf $out/bin/getconf
|
|
||||||
'';
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "rabbitmq-server-${version}";
|
name = "rabbitmq-server-${version}";
|
||||||
version = "3.6.15";
|
version = "3.6.15";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user