racket: fix wrapGApp calls
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user