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:
Ryan Burns
2021-09-02 23:19:25 -07:00
parent 3570433a71
commit f2c799c9df
+9 -3
View File
@@ -290,9 +290,15 @@ let
# Currently uses Musl on Linux (couldnt 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 = {