mate: use stdenv.lib.versions.majorMinor instead of mate.getRelease

This commit is contained in:
José Romildo Malaquias
2019-04-21 12:40:55 -03:00
parent 4c49b03ffd
commit a1164b0649
40 changed files with 53 additions and 56 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.22.0";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1zwdjvxci72j0181nlfq6912lw3aq8j3746brlp7wlzn22qp7b0k";
};