rabbitmq-server: use provided getconf

This commit is contained in:
Matthew Bauer 2018-04-10 18:54:11 -05:00
parent f94c9c5459
commit 037e5d863b

View File

@ -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";