forked from mirrors/nixpkgs
Pass coreutils explicitly instead of using stdenv.coreutils
I hope that this fixes tarball creation for hydra svn path=/nixpkgs/trunk/; revision=21886
This commit is contained in:
parent
fd63f04e4e
commit
b7a54122ef
|
@ -1,8 +1,9 @@
|
|||
# Remember to install Pinentry and
|
||||
# 'echo "pinentry-program `which pinentry-gtk-2`" >> ~/.gnupg/gpg-agent.conf'.
|
||||
|
||||
{ fetchurl, stdenv, readline, zlib, libgpgerror, pth, libgcrypt, libassuan, libksba
|
||||
, useLdap ? true, openldap ? null, useBzip2 ? true, bzip2 ? null, useUsb ? true, libusb ? null
|
||||
{ fetchurl, stdenv, readline, zlib, libgpgerror, pth, libgcrypt, libassuan
|
||||
, libksba, coreutils, useLdap ? true, openldap ? null
|
||||
, useBzip2 ? true, bzip2 ? null, useUsb ? true, libusb ? null
|
||||
, useCurl ? true, curl ? null
|
||||
}:
|
||||
|
||||
|
@ -26,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
++ stdenv.lib.optional useCurl curl;
|
||||
|
||||
patchPhase = ''
|
||||
find tests -type f | xargs sed -e 's@/bin/pwd@${stdenv.coreutils}&@g' -i
|
||||
find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i
|
||||
'';
|
||||
|
||||
checkPhase="GNUPGHOME=`pwd` ./agent/gpg-agent --daemon make check";
|
||||
|
|
|
@ -818,7 +818,7 @@ let
|
|||
|
||||
gnupg = makeOverridable (import ../tools/security/gnupg) {
|
||||
inherit fetchurl stdenv readline libgpgerror libgcrypt libassuan pth libksba zlib
|
||||
openldap bzip2 libusb curl;
|
||||
openldap bzip2 libusb curl coreutils;
|
||||
};
|
||||
|
||||
gnuplot = makeOverridable (import ../tools/graphics/gnuplot) {
|
||||
|
|
Loading…
Reference in a new issue