From 6a31db4e8fb3aa32da49608e5a83e48d331473dc Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Thu, 18 Mar 2021 20:54:35 +0000 Subject: [PATCH] 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. --- pkgs/applications/graphics/freecad/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/graphics/freecad/default.nix b/pkgs/applications/graphics/freecad/default.nix index 5a3dffd0c367..07ac5b32e5f1 100644 --- a/pkgs/applications/graphics/freecad/default.nix +++ b/pkgs/applications/graphics/freecad/default.nix @@ -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; {