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 79 80 80 mesonFlags = [ 81 81 "-Dinstalled_test_prefix=${placeholder "installedTests"}" 82 - ] ++ lib.optionals (!stdenv.isLinux) [ 82 + ] ++ lib.optionals (!stdenv.isLinux || stdenv.hostPlatform.isMusl) [ 83 83 "-Dprofiler=disabled" 84 84 ]; 85 85 ··· 88 88 postPatch = '' 89 89 patchShebangs build/choose-tests-locale.sh 90 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'," 91 94 ''; 92 95 93 96 preCheck = ''