gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
This commit is contained in:
@@ -8,7 +8,7 @@ in stdenv.mkDerivation rec {
|
||||
version = "3.24.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtksourceview/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/gtksourceview/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "7aa6bdfebcdc73a763dddeaa42f190c40835e6f8495bb9eb8f78587e2577c188";
|
||||
};
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ in stdenv.mkDerivation rec {
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtksourceview/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/gtksourceview/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "0amkspjsvxr3rjznmnwjwsgw030hayf6bw49ya4nligslwl7lp3f";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user