3
0
Fork 0
forked from mirrors/nixpkgs

gams: move optgams and gamslice to $out/share/gams

This commit is contained in:
Fritz Otlinghaus 2018-05-31 15:00:18 +02:00
parent 9668a66948
commit 99946606eb

View file

@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin" "$out/share/gams"
cp -a * "$out/share/gams"
cp ${licenseFile} $out/share/gamslice.txt
cp ${licenseFile} $out/share/gams/gamslice.txt
'' + stdenv.lib.optionalString (optgamsFile != null) ''
cp ${optgamsFile} $out/share/optgams.def
cp ${optgamsFile} $out/share/gams/optgams.def
ln -s $out/share/gams/optgams.def $out/bin/optgams.def
'';