asymptote: enable parallel building
This commit is contained in:
parent
ae466ba15c
commit
4222b8c20c
@ -22,9 +22,11 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit (s) name version;
|
inherit (s) name version;
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
inherit (s) url sha256;
|
inherit (s) url sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export HOME="$PWD"
|
export HOME="$PWD"
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
@ -33,12 +35,16 @@ stdenv.mkDerivation {
|
|||||||
cp texinfo-*/doc/texinfo.tex doc/
|
cp texinfo-*/doc/texinfo.tex doc/
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${boehmgc}/include/gc"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${boehmgc}/include/gc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv -v "$out/share/info/asymptote/"*.info $out/share/info/
|
mv -v "$out/share/info/asymptote/"*.info $out/share/info/
|
||||||
sed -i -e 's|(asymptote/asymptote)|(asymptote)|' $out/share/info/asymptote.info
|
sed -i -e 's|(asymptote/asymptote)|(asymptote)|' $out/share/info/asymptote.info
|
||||||
rmdir $out/share/info/asymptote
|
rmdir $out/share/info/asymptote
|
||||||
rm $out/share/info/dir
|
rm $out/share/info/dir
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (s) version;
|
inherit (s) version;
|
||||||
description = "A tool for programming graphics intended to replace Metapost";
|
description = "A tool for programming graphics intended to replace Metapost";
|
||||||
|
Loading…
Reference in New Issue
Block a user