Skip to content

All stdenvs should have a generic libc attribute #6221

@copumpkin

Description

@copumpkin

Currently, the linux stdenv has

extraAttrs = {
      inherit (stage4.pkgs) glibc;
      ...
};

which gives it a glibc attribute, but now that we're getting a proper darwin stdenv, it would be nice to be able to refer to its standard library generically. Darwin's stdenv already has a libc in its extraAttrs, so I think the solution to this would be as simple as putting that attribute into the linux stdenv's extraAttrs, or into the generic stdenv builder. Adding attributes to the various bootstrap phases will cause a massive linux rebuild though...

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: cross-compilationBuilding packages on a different platform than they will be used on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions