forked from mirrors/nixpkgs
gams: move optgams and gamslice to $out/share/gams
This commit is contained in:
parent
9668a66948
commit
99946606eb
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue