Merge pull request #34179 from dtzWill/update/mktemp
mktemp: 1.6 -> 1.7, fix for cross
This commit is contained in:
commit
7344773d4d
1 changed files with 9 additions and 4 deletions
|
@ -1,16 +1,21 @@
|
|||
{ stdenv, fetchurl, groff }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mktemp-1.6";
|
||||
name = "mktemp-1.7";
|
||||
|
||||
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
||||
NROFF = "${groff}/bin/nroff";
|
||||
|
||||
# Don't use "install -s"
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.in --replace " 0555 -s " " 0555 "
|
||||
'';
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.6.tar.gz;
|
||||
sha256 = "1nfj89b0dv1c2fyqi1pg54fyzs3462cbp7jv7lskqsxvqy4mh9x1";
|
||||
url = ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.7.tar.gz;
|
||||
sha256 = "0x969152znxxjbj7387xb38waslr4yv6bnj5jmhb4rpqxphvk54f";
|
||||
};
|
||||
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue