Skip to content

Restore aliases#196001

Merged
infinisil merged 3 commits intoNixOS:masterfrom
hercules-ci:restore-aliases
Oct 15, 2022
Merged

Restore aliases#196001
infinisil merged 3 commits intoNixOS:masterfrom
hercules-ci:restore-aliases

Conversation

@roberth
Copy link
Member

@roberth roberth commented Oct 14, 2022

Description of changes

Reverts #192681, #192870
Does not break #192859
Resolves #195702

Removing aliases without warning is not ok, because it breaks a lot of third party code, without a grace period during which the ecosystem can adapt.

We must throw warnings first. If that's not possible, we have to make that possible first.
Please consider that when these errors occur in a third party repo*, many users will not be able to fix the problem.

*: e.g. home-manager, various flakes, etc, as opposed to nixpkgs (2nd party) or user/team/project config (1st party)

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Oct 14, 2022
This reverts commit ba33195.

Removing aliases without warning is not ok, because it breaks a
lot of third party code, without a grace period during which the
ecosystem can adapt.
This reverts commit ddb7c7b.

Removing aliases without warning is not ok, because it breaks a
lot of third party code, without a grace period during which the
ecosystem can adapt.
This reverts commit d062073.

Removing aliases without warning is not ok, because it breaks a
lot of third party code, without a grace period during which the
ecosystem can adapt.
@roberth roberth marked this pull request as ready for review October 15, 2022 10:00
@roberth
Copy link
Member Author

roberth commented Oct 15, 2022

We're 18 hours and 1 rebase in. I'd like to merge this soon.

@infinisil infinisil merged commit bc17561 into NixOS:master Oct 15, 2022
mweinelt added a commit to NixOS/release-wiki that referenced this pull request Mar 6, 2023
It is controversial, given the downstream breakage and the lack of a
grace-period. The last time I tried this, the changes were reverted.

Cf. NixOS/nixpkgs#196001
mweinelt added a commit to NixOS/release-wiki that referenced this pull request Mar 6, 2023
It is controversial, given the downstream breakage and the lack of a
grace-period. The last time I tried this, the changes were reverted.

Cf. NixOS/nixpkgs#196001
mweinelt added a commit to NixOS/release-wiki that referenced this pull request Mar 6, 2023
It is controversial, given the downstream breakage and the lack of a
grace-period. The last time I tried this, the changes were reverted.

Cf. NixOS/nixpkgs#196001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adjust recent attribute deprecations

2 participants