aaxtomp3: fix eval for non-glibc targets

Without the change the eval fails as:

    $ nix build --no-link -f. pkgsCross.aarch64-android.aaxtomp3
    error:
       error: cannot coerce null to a string
This commit is contained in:
Sergei Trofimovich 2024-01-01 10:16:58 +00:00
parent 3d54a95d71
commit 009b985077

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 = [