Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework stage.nix's extraPkgs #43079

Merged
merged 5 commits into from Jul 5, 2018
Merged

Conversation

matthewbauer
Copy link
Member

I have renamed the overlay to “otherPackageSets” because I think that
is more descriptive.

pkgsLocal has been removed because there were concerns that it would
be confusing. None of the other names seemed very useful so I think it
is best to avoid it altogether. pkgsCross is still included,
hopefully, that will not have as much confusion.

pkgsMusl is now available for building Musl packages. It will give you
packages bulit with the Musl libc.

Also added more documentation.

/cc @dezgeg @Ericson2314 @dtzWill

I have renamed the overlay to “otherPackageSets” because I think that
is more descriptive.

pkgsLocal has been removed because there were concerns that it would
be confusing. None of the other names seemed very useful so I think it
is best to avoid it altogether. pkgsCross is still included,
hopefully, that will not have as much confusion.

pkgsMusl is now available for building Musl packages. It will give you
packages bulit with the Musl libc.

Also added more documentation.

/cc @dezgeg @Ericson2314 @dtzWill
This has been replaced with pkgsi686Linux.callPackage
Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like just let-binding force* to deprecate then by before, but that's just a quible. Looks good!

matthewbauer and others added 3 commits July 5, 2018 15:47
…System more

For example:

nix-repl> pkgsi686Linux.pkgsMusl.hostPlatform.config
"i686-unknown-linux-musl"

nix-repl> pkgsMusl.pkgsi686Linux.hostPlatform.config
"i686-unknown-linux-musl"
This prevent us evaluation on macOS systems where pkgsMusl &
pkgsi686Linux is unsupported.
@matthewbauer matthewbauer merged commit bb0febf into NixOS:master Jul 5, 2018
@dtzWill
Copy link
Member

dtzWill commented Jul 5, 2018

\o/ \o/ \o/

@grahamc
Copy link
Member

grahamc commented Jul 13, 2018

Any chance you could:

  1. add back the forceSystem function
  2. add a builtins.trace log which says it is deprecated, and how to upgrade
  3. a changelog entry with the same contents?

This broke a bunch of my stuff, and the only way to figure out how and why was to git log -S forceSystem.

@matthewbauer
Copy link
Member Author

Yeah that would be a good idea.

@grahamc
Copy link
Member

grahamc commented Jul 13, 2018

Thank you a lot!

@matthewbauer
Copy link
Member Author

I think there is a pretty critical issue in forceSystem where the .drv is different for each host system. We can probably try to fix it but it could get a little complicated with trying to avoid that bug. Are you just using forceSystem for i686? Maybe we can just point it to pkgsi686Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants