Skip to content

all-packages: try withing spliced packages.#58327

Closed
Ericson2314 wants to merge 1 commit intoNixOS:masterfrom
Ericson2314:with-spliced-packages
Closed

all-packages: try withing spliced packages.#58327
Ericson2314 wants to merge 1 commit intoNixOS:masterfrom
Ericson2314:with-spliced-packages

Conversation

@Ericson2314
Copy link
Member

Motivation for this change

This is an experiment. On one hand, it should unbreak some cross things,
on the other, if inherit is used for things other than overriding it
will lead to "doubly spliced" packages, which is an insane mess.

CC @matthewbauer

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 nix-review --run "nix-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

This is an experiment. On one hand, it should unbreak some cross things,
on the other, if `inherit` is used for things other than overriding it
will lead to "doubly spliced" packages, which is an insane mess.
@infinisil
Copy link
Member

What's the status of this?

@Ericson2314
Copy link
Member Author

Ericson2314 commented Jan 16, 2020

It's not the big win thought it was and breaks other things. I would rather not do this.

@infinisil
Copy link
Member

Closing then

@infinisil infinisil closed this Jan 16, 2020
@Ericson2314
Copy link
Member Author

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants