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 = "093vbip848bp9y603yasbrg1bcp68m64hma7zhi5m37x2r103r6l";
};