From 5cc18c47813d215c5e198a00f449075df0886f82 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 5 Oct 2018 02:12:11 +0200 Subject: gnome3: remove versionBranch attribute Standard library now contains stdenv.lib.versions.majorMinor, which does the same. --- pkgs/applications/graphics/shotwell/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/applications/graphics/shotwell/default.nix') diff --git a/pkgs/applications/graphics/shotwell/default.nix b/pkgs/applications/graphics/shotwell/default.nix index 1ebc2f88ec5..be572ca32f9 100644 --- a/pkgs/applications/graphics/shotwell/default.nix +++ b/pkgs/applications/graphics/shotwell/default.nix @@ -12,7 +12,7 @@ in stdenv.mkDerivation rec { name = "${pname}-${version}"; src = fetchurl { - url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; sha256 = "0pa7lb33i4hdnz7hr7x938d48ilrnj47jzb99la79rmm08yyin8n"; }; -- cgit 1.4.1