mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
maude: cosmetic
This commit is contained in:
parent
e79001d4d6
commit
26ed6c1148
@ -15,12 +15,17 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper];
|
buildInputs = [flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper];
|
||||||
|
|
||||||
configurePhase = ''./configure --disable-dependency-tracking --prefix=$out --datadir=$out/share/maude TECLA_LIBS="-ltecla -lncursesw" CFLAGS="-O3" CXXFLAGS="-O3"'';
|
preConfigure = ''
|
||||||
|
configureFlagsArray=(
|
||||||
|
--datadir=$out/share/maude
|
||||||
|
TECLA_LIBS="-ltecla -lncursesw"
|
||||||
|
CFLAGS="-O3" CXXFLAGS="-O3"
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
postInstall =
|
postInstall = ''
|
||||||
''
|
|
||||||
for n in "$out/bin/"*; do wrapProgram "$n" --suffix MAUDE_LIB ':' "$out/share/maude"; done
|
for n in "$out/bin/"*; do wrapProgram "$n" --suffix MAUDE_LIB ':' "$out/share/maude"; done
|
||||||
mkdir -p $out/share/maude
|
mkdir -p $out/share/maude
|
||||||
cp ${fullMaude} $out/share/maude/full-maude.maude
|
cp ${fullMaude} $out/share/maude/full-maude.maude
|
||||||
@ -41,7 +46,7 @@ stdenv.mkDerivation rec {
|
|||||||
rewriting logic computation.
|
rewriting logic computation.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.all;
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user