Skip to content

Commit

Permalink
racket: wrap with LOCALE_ARCHIVE iff Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <aseipp@pobox.com>
  • Loading branch information
thoughtpolice committed Feb 6, 2023
1 parent 70325c2 commit 29464cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/racket/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, cairo, coreutils, fontconfig, freefont_ttf
, glib, gmp
, gtk3
, glibcLocales
, libedit, libffi
, libiconv
, libGL
Expand Down Expand Up @@ -107,6 +108,7 @@ stdenv.mkDerivation rec {
'' + lib.optionalString stdenv.isLinux ''
gappsWrapperArgs+=("--prefix" "LD_LIBRARY_PATH" ":" ${libPath})
gappsWrapperArgs+=("--set" "LOCALE_ARCHIVE" "${glibcLocales}/lib/locale/locale-archive")
'' + lib.optionalString stdenv.isDarwin ''
gappsWrapperArgs+=("--prefix" "DYLD_LIBRARY_PATH" ":" ${libPath})
''
Expand Down

0 comments on commit 29464cd

Please sign in to comment.