folks: Replace finalAttrs.pname with fixed string folks

https://github.com/NixOS/nixpkgs/issues/277994
This commit is contained in:
Bobby Rong 2024-01-14 23:22:35 +08:00
parent fd309df083
commit d4207e550a
No known key found for this signature in database

View file

@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${finalAttrs.pname}/${lib.versions.majorMinor finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
url = "mirror://gnome/sources/folks/${lib.versions.majorMinor finalAttrs.version}/folks-${finalAttrs.version}.tar.xz";
sha256 = "Eg8hnvYyEsqpWuf2rrZOKZKLCxqLlFIFQwSgDQ80eHE=";
};
@ -103,7 +103,7 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
updateScript = gnome.updateScript {
packageName = finalAttrs.pname;
packageName = "folks";
versionPolicy = "none";
};
};