Commit 009b9850 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

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
parent 3d54a95d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 = [