pkgsStatic: make pkgsMusl a no-op
When pkgsStatic is already musl, we can let pkgsMusl simply be a no-op. As the interaction of pkgsStatic and pkgsMusl machinery is currently broken, this fixes pkgsStatic.pkgsMusl.stdenv.
This commit is contained in:
@@ -290,9 +290,15 @@ let
|
||||
# Currently uses Musl on Linux (couldn’t get static glibc to work).
|
||||
pkgsStatic = nixpkgsFun {
|
||||
overlays = [
|
||||
(self': super': {
|
||||
pkgsStatic = super';
|
||||
})
|
||||
(
|
||||
self': super':
|
||||
{
|
||||
pkgsStatic = super';
|
||||
}
|
||||
// lib.optionalAttrs super'.stdenv.hostPlatform.isMusl {
|
||||
pkgsMusl = super';
|
||||
}
|
||||
)
|
||||
]
|
||||
++ overlays;
|
||||
crossSystem = {
|
||||
|
||||
Reference in New Issue
Block a user