inetutils: switch to finalAttrs

Dynamic attrs in rec are weird and deprecated in Lix.
Switch to finalAttrs to keep the workaround and not the deprecation.
This commit is contained in:
K900
2026-02-18 11:07:02 +03:00
parent 1165b54c0c
commit 04a4fd569a
+3 -3
View File
@@ -10,12 +10,12 @@
libxcrypt,
util-linux,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "inetutils";
version = "2.7";
src = fetchurl {
url = "mirror://gnu/inetutils/inetutils-${version}.tar.gz";
url = "mirror://gnu/inetutils/inetutils-${finalAttrs.version}.tar.gz";
hash = "sha256-oVa+HN48XA/+/CYhgNk2mmBIQIeQeqVUxieH0vQOwIY=";
};
@@ -125,4 +125,4 @@ stdenv.mkDerivation rec {
*/
priority = (util-linux.meta.priority or lib.meta.defaultPriority) + 1;
};
}
})