uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/tools/security/mktemp/default.nix
Normal file
26
pkgs/tools/security/mktemp/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchurl, groff }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mktemp";
|
||||
version = "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-${version}.tar.gz";
|
||||
sha256 = "0x969152znxxjbj7387xb38waslr4yv6bnj5jmhb4rpqxphvk54f";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple tool to make temporary file handling in shells scripts safe and simple";
|
||||
homepage = "https://www.mktemp.org";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue