Repository navigation
[Backport release-25.11] inetutils: switch to finalAttrs - #492765
Conversation
Dynamic attrs in rec are weird and deprecated in Lix. Switch to finalAttrs to keep the workaround and not the deprecation. (cherry picked from commit 04a4fd5)
There was a problem hiding this comment.
This report is automatically generated by the PR / Check / cherry-pick CI workflow.
Some of the commits in this PR require the author's and reviewer's attention.
Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.
Warning
Difference between 8e4929f and original 04a4fd5 may warrant inspection.
Show diff
@@ Commit message
Dynamic attrs in rec are weird and deprecated in Lix.
Switch to finalAttrs to keep the workaround and not the deprecation.
+ (cherry picked from commit 04a4fd569a916a521252f0af5dddcdc6ff6e55c4)
+
## pkgs/by-name/in/inetutils/package.nix ##
@@
libxcrypt,
@@ pkgs/by-name/in/inetutils/package.nix
version = "2.7";
src = fetchurl {
-- url = "mirror://gnu/inetutils/inetutils-${version}.tar.gz";
+- url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
+ url = "mirror://gnu/inetutils/inetutils-${finalAttrs.version}.tar.gz";
hash = "sha256-oVa+HN48XA/+/CYhgNk2mmBIQIeQeqVUxieH0vQOwIY=";
};
Hint: The full diffs are also available in the runner logs with slightly better highlighting.
|
Regarding the github-actions bot; the diff is due to 25.11 using |
Merge conflict is expected.
Dynamic attrs in rec are weird and deprecated in Lix. Switch to finalAttrs to keep the workaround and not the deprecation.
(cherry picked from commit 04a4fd5)
(commit message verbatim above)
deprecated-features = rec-set-dynamic-attrs#491650Note that the original went through staging, however this has already hit release for 25.11, and evaluation doesn't change.
For this reason I'm targeting release-25.11 directly.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.