Merge pull request #278044 from trofi/aaxtomp3-fix-cross-eval

aaxtomp3: fix eval for non-glibc targets
This commit is contained in:
Mario Rodas 2024-01-14 12:31:22 -05:00 committed by GitHub
commit f475569509
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@
git
, # oil deps
file
, glibcLocales
, pkgsBuildBuild
, six
, typing
}:
@ -123,7 +123,7 @@ rec {
'';
# See earlier note on glibcLocales TODO: verify needed?
LOCALE_ARCHIVE = lib.optionalString (stdenv.buildPlatform.libc == "glibc") "${glibcLocales}/lib/locale/locale-archive";
LOCALE_ARCHIVE = lib.optionalString (stdenv.buildPlatform.libc == "glibc") "${pkgsBuildBuild.glibcLocales}/lib/locale/locale-archive";
# not exhaustive; sample what resholve uses as a sanity check
pythonImportsCheck = [