-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
treewide: completely remove types.loaOf #96042
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we turn the warning in the type into something fatal to help people out?
Also mention in the release notes that it is now removed entirely?
Also: While the warning mentioned that {
loaOf = lib.warn "loaOf is deprecated blabla..." attrsOf;
} |
Uhm, it looks like changing options to |
Option references in docbook are:
This is why the manual fails, the references need to be changed from |
Thank you, done. I don't know how the Nixos options integration in docbook happen, so is there a file that needs to be updated for the removal? I couldn't find any more references to |
No idea either, haven't looked into it |
We replace the
The id just comes from the option name itself IIRC. |
@jtojnar, sorry but I understand very little of what's going on in that file. I still don't see anything related to loaOf in it, what should be changed? |
We can drop the outermost |
Ok, I think I get it. It's because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Remove the substitution for the <name?> placeholder used by loaOf, now that the type has been deprecated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff LGTM, thanks!
Thank you all! |
Absolutely, and I return the thanks ten fold ✨ |
loaOf has been deprecated for a long time and is now in the process of removal (see NixOS/nixpkgs#96042). Thus, we remove it here, too.
loaOf has been deprecated for a long time and is now in the process of removal (see NixOS/nixpkgs#96042). Thus, we remove it here, too.
types.loaOf has been deprecated for a long time and is now in the process of removal. See: NixOS/nixpkgs#96042
The package was broken due to [1], which is fixed upstream in [2]. The repo has moved to nix-community, so we might as well encode the redirect here. [1] #96042 [2] nix-community/home-manager@0399839
loaOf has been deprecated for a long time and is now in the process of removal (see NixOS/nixpkgs#96042). Thus, we remove it here, too.
types.loaOf has been deprecated for a long time and is now in the process of removal. See: NixOS/nixpkgs#96042
loaOf has been deprecated for a long time and is now in the process of removal (see NixOS/nixpkgs#96042). Thus, we remove it here, too.
types.loaOf has been deprecated for a long time and is now in the process of removal. See: NixOS/nixpkgs#96042
Motivation for this change
Finalise the removal of loaOf, started with #63103.
See also #77189 (comment).
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)