pkgsMusl.gjs: fix build (#203248)

authored by Yureka and committed by GitHub 1106312d adddfe79

+4 -1
+4 -1
pkgs/development/libraries/gjs/default.nix
··· 79 80 mesonFlags = [ 81 "-Dinstalled_test_prefix=${placeholder "installedTests"}" 82 - ] ++ lib.optionals (!stdenv.isLinux) [ 83 "-Dprofiler=disabled" 84 ]; 85 ··· 88 postPatch = '' 89 patchShebangs build/choose-tests-locale.sh 90 substituteInPlace installed-tests/debugger-test.sh --subst-var-by gjsConsole $out/bin/gjs-console 91 ''; 92 93 preCheck = ''
··· 79 80 mesonFlags = [ 81 "-Dinstalled_test_prefix=${placeholder "installedTests"}" 82 + ] ++ lib.optionals (!stdenv.isLinux || stdenv.hostPlatform.isMusl) [ 83 "-Dprofiler=disabled" 84 ]; 85 ··· 88 postPatch = '' 89 patchShebangs build/choose-tests-locale.sh 90 substituteInPlace installed-tests/debugger-test.sh --subst-var-by gjsConsole $out/bin/gjs-console 91 + '' + lib.optionalString stdenv.hostPlatform.isMusl '' 92 + substituteInPlace installed-tests/js/meson.build \ 93 + --replace "'Encoding'," "#'Encoding'," 94 ''; 95 96 preCheck = ''