treewide: replace make/build/configure/patchFlags with nix lists
This commit is contained in:
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool to convert ANSI to other formats";
|
||||
longDescription = ''
|
||||
Tool to remove ANSI or convert them to another format
|
||||
Tool to remove ANSI or convert them to another format
|
||||
(HTML, TeX, LaTeX, RTF, Pango or BBCode)
|
||||
'';
|
||||
homepage = "http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php";
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
|
||||
makeFlags = [ "TREE=\$(out)" "MANTREE=\$(TREE)/share/man" ];
|
||||
|
||||
preBuild = ''
|
||||
sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0x529137rxy6ld64xqa6xmn93121ripxvkf3sc7hv3wg6km182sw";
|
||||
};
|
||||
|
||||
patchFlags = "-p2";
|
||||
patchFlags = [ "-p2" ];
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "zimreader_tntnet221.patch";
|
||||
|
||||
Reference in New Issue
Block a user