mlocate: use finalAttrs pattern

This commit is contained in:
Pol Dellaiera
2025-09-25 22:20:19 +02:00
parent 8e4efc7dfa
commit 82d68ff851
+3 -3
View File
@@ -4,12 +4,12 @@
fetchurl,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "mlocate";
version = "0.26";
src = fetchurl {
url = "https://releases.pagure.org/mlocate/mlocate-${version}.tar.xz";
url = "https://releases.pagure.org/mlocate/mlocate-${finalAttrs.version}.tar.xz";
sha256 = "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh";
};
@@ -24,4 +24,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
maintainers = [ ];
};
}
})