From 3785e0ac7e2dfa7e9ff4687ab3b4cb0e76b2c7ed Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sun, 14 Jan 2018 19:25:25 -0600 Subject: [PATCH] mktemp: fix w/cross --- pkgs/tools/security/mktemp/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/security/mktemp/default.nix b/pkgs/tools/security/mktemp/default.nix index 2a40315932e7..a2a4f82f652c 100644 --- a/pkgs/tools/security/mktemp/default.nix +++ b/pkgs/tools/security/mktemp/default.nix @@ -6,6 +6,11 @@ stdenv.mkDerivation { # 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.7.tar.gz; sha256 = "0x969152znxxjbj7387xb38waslr4yv6bnj5jmhb4rpqxphvk54f";