Merge pull request #277355 from trofi/stdenv-fix-eval

stdenv: fix eval of pkgsMusl packages with platform constraints
This commit is contained in:
Rick van Schijndel 2023-12-29 11:24:22 +01:00 committed by GitHub
commit cd7cd1c177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,9 +89,9 @@
else null) null (lib.attrNames archLookupTable);
archLookupTable = table.${localSystem.libc}
or (abort "unsupported libc for the pure Linux stdenv");
or (throw "unsupported libc for the pure Linux stdenv");
files = archLookupTable.${localSystem.system} or (if getCompatibleTools != null then getCompatibleTools
else (abort "unsupported platform for the pure Linux stdenv"));
else (throw "unsupported platform for the pure Linux stdenv"));
in files
}: