treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
let
|
||||
dbfile = stdenv.lib.attrByPath [ "locate" "dbfile" ] "/var/cache/locatedb" config;
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "mlocate-${version}";
|
||||
pname = "mlocate";
|
||||
version = "0.26";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://releases.pagure.org/mlocate/${name}.tar.xz";
|
||||
url = "https://releases.pagure.org/mlocate/${pname}-${version}.tar.xz";
|
||||
sha256 = "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user