mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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 New Issue
Block a user