gnome3: remove versionBranch attribute

Standard library now contains stdenv.lib.versions.majorMinor,
which does the same.
This commit is contained in:
Jan Tojnar
2018-10-05 02:17:19 +02:00
parent df48060e4c
commit 5cc18c4781
165 changed files with 166 additions and 171 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ in stdenv.mkDerivation rec {
version = "1.22.2";
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 = "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr";
};