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/misc/ms-sys/default.nix
Normal file
26
pkgs/tools/misc/ms-sys/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchurl, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ms-sys";
|
||||
version = "2.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/ms-sys/${pname}-${version}.tar.gz";
|
||||
sha256 = "06xqpm2s9cg8fj7a1822wmh3p4arii0sifssazg1gr6i7xg7kbjz";
|
||||
};
|
||||
# TODO: Remove with next release, see https://sourceforge.net/p/ms-sys/patches/8/
|
||||
patches = [ ./manpages-without-build-timestamps.patch ];
|
||||
|
||||
nativeBuildInputs = [ gettext ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A program for writing Microsoft-compatible boot records";
|
||||
homepage = "http://ms-sys.sourceforge.net/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
diff -u ms-sys-2.6.0/Makefile ms-sys-2.6.0-fixed/Makefile
|
||||
--- ms-sys-2.6.0/Makefile 2015-09-27 20:39:45.000000000 +0200
|
||||
+++ ms-sys-2.6.0-fixed/Makefile2020-01-06 16:43:55.181477511 +0100
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
$(DESTDIR)$(MANDIR)/%: $(MAN)/$(dir $(*D))/$(*F)
|
||||
install -D -m 644 $(MAN)/$(dir $(*D))$(*F) $@
|
||||
- gzip -f $@
|
||||
+ gzip -n -f $@
|
||||
|
||||
#$(DESTDIR)$(MANDIR)/%: $(MAN)/$(*F)
|
||||
# echo t: $<
|
||||
Loading…
Add table
Add a link
Reference in a new issue