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

release-lib: Cache cross nixpkgs evals too, and other fixes, for 18.09 #49566

Merged

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Nov 1, 2018

Motivation for this change

Backport of #49565. Good because it increases eval performance, and fixes eval errors in release-cross.nix.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

This will help with release-cross.nix eval time. It also allowed me to
share code between the cross and native helpers.
…System

The `ensureUnaffected` the tests purposefully use an absurd crossSystem.
Also sheevaplug and pogoplug share the same config.
This fixes some eval errors in release-cross.nix
This allows cross builds to work. Evidentallyy this has been done wrong
since I combined the bootstrap tool creation files in
ab651d2. Oops!
@Ericson2314 Ericson2314 changed the title release-lib: Cache cross nixpkgs evals too release-lib: Cache cross nixpkgs evals too, and other fixes Nov 1, 2018
@Ericson2314 Ericson2314 changed the title release-lib: Cache cross nixpkgs evals too, and other fixes release-lib: Cache cross nixpkgs evals too, and other fixes, for 18.09 Nov 1, 2018
@GrahamcOfBorg GrahamcOfBorg added the 6.topic: stdenv Standard environment label Nov 1, 2018
@Ericson2314 Ericson2314 merged commit d993497 into NixOS:release-18.09 Nov 1, 2018
@Ericson2314
Copy link
Member Author

Yes @peti reported this. I said I'd fix over the weekend but then had a big laptop failure. Fixing now really quick at work.

@Ericson2314
Copy link
Member Author

#49796 is the fix.

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

3 participants