racket: fix wrapGApp calls (#446925)

This commit is contained in:
Guillaume Girol
2025-10-28 20:07:53 +00:00
committed by GitHub
+11
View File
@@ -87,8 +87,19 @@ minimal.overrideAttrs (
export XDG_CACHE_HOME=$(mktemp -d)
'';
dontWrapGApps = true;
preFixup = lib.optionalString (!isDarwin) ''
gappsWrapperArgs+=("--set" "LOCALE_ARCHIVE" "${glibcLocales}/lib/locale/locale-archive")
find $out/bin -type f -executable -print0 |
while IFS= read -r -d ''' f; do
if test "$(file --brief --mime-type "$f")" = application/x-executable; then
wrapGApp "$f"
fi
done
wrapGApp $out/lib/racket/gracket
'';
passthru =