Skip to content

pkgsStatic shouldn't imply musl. #196329

@uri-canva

Description

@uri-canva

Describe the bug

pkgsStatic switches the libc from the default glibc to musl. But musl has its own pkgs overlay, that should compose with pkgsStatic. Currently it does not: #114510.

See also #136549 (comment):

The fact pkgsStatic is using musl is an accident: glibc static build was broken at the time and musl was used instead. Ideally pkgsStatic should differ from pkgs in just having -static kind of flags.

Nowadays glibc.static is working and I was actually thinking about changing pkgsStatic back to using it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: muslRunning or building packages with musl libc6.topic: staticStatic builds (e.g. pkgsStatic)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions