substituteAll: deprecate#395275
Conversation
philiptaron
left a comment
There was a problem hiding this comment.
I'm accepting with feedback about the deprecation schedule.
|
|
Another question comes to mind: Should we immediately deprecate the bash function We can then clean this up in the next cycle - and remove the function itself immediately, too. |
I don't have a strong opinion other than that going off half-cocked is a bad idea. We're tracking the removal of the Nix function / build helper in #237216, not the Bash function, as I read it. So let's keep the course and merge this. |
e7cd6f9 to
8c3776d
Compare
Did that.
OK, agreed. Will not deprecate it, yet.
#237216 is about both the nix and the bash function, at least for me. I'm 100% set on removing the bash function, too, because it's even worse, at least for my efforts around
I now replaced the docs for Does that make sense at this stage? |
8c3776d to
7584a58
Compare
philiptaron
left a comment
There was a problem hiding this comment.
I think this is still good to go.
7584a58 to
be84e27
Compare
|
Just resolved conflicts, ready to merge once CI is through. |
be84e27 to
d3842f2
Compare
|
Eval told me about 3 new offenders, the refactor tractor took care of them. |
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
substituteAll has been deprecated so will start to cause warnings on 25.05 and nixos-unstable. NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
substituteAll has been deprecated so will start to cause warnings on 25.05 and nixos-unstable. NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
substituteAll has been deprecated[1] and removed[2]. [1]: NixOS/nixpkgs#395275 [2]: NixOS/nixpkgs#410058
substituteAll has been deprecated[1] and removed[2]. [1]: NixOS/nixpkgs#395275 [2]: NixOS/nixpkgs#410058
- substituteAll issues: NixOS/nixpkgs#237216 - substituteAll has been deprecated: NixOS/nixpkgs#395275 - substituteAll has been dropped: NixOS/nixpkgs#410058 - old substituteAll implementation: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/build-support/substitute/substitute-all.nix - new replaceVars implementation: https://github.com/hsjobeki/nixpkgs/blob/migrate-doc-comments/pkgs/build-support/replace-vars/replace-vars-with.nix
One step towards #237216.
Q1: Should we adjust the docs immediately? If yes, just add a deprecation or remove them already and point to ... (ah, we don't have
replaceVarsin the docs, yet?).Q2: What to do about
substituteAllFiles? It's unused in nixpkgs, so we could deprecate it immediately as well? Although we don't have a replacement for it.Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usageAdd a 👍 reaction to pull requests you find important.