freecad: symlink uppercase executable names to lowercase in postFixup

When a user installs this package, it's likely they will try to run 'freecad' instead of 'FreeCAD', this symlinks FreeCAD -> freecad such that the user will not be confused and assume that installation of the package did not work properly.
This commit is contained in:
matthewcroughan 2021-03-18 20:54:35 +00:00
parent 0408ccf4ff
commit 6a31db4e8f

View file

@ -130,6 +130,8 @@ mkDerivation rec {
postFixup = ''
mv $out/share/doc $out
ln -s $out/bin/FreeCAD $out/bin/freecad
ln -s $out/bin/FreeCADCmd $out/bin/freecadcmd
'';
meta = with lib; {