mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
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:
parent
3d54a95d71
commit
009b985077
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user