diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-04-21 12:40:55 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2019-04-21 12:40:55 -0300 |
commit | a1164b06495f09bcdab1e649526d4f94a0d1f531 (patch) | |
tree | ebdfc51879796d95f64b3d1ea5c7aa6c25382dd8 /pkgs/desktops/mate/mate-icon-theme | |
parent | 4c49b03ffd9ed4ef611b0c827eec447c13c8d299 (diff) |
mate: use stdenv.lib.versions.majorMinor instead of mate.getRelease
Diffstat (limited to 'pkgs/desktops/mate/mate-icon-theme')
-rw-r--r-- | pkgs/desktops/mate/mate-icon-theme/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/desktops/mate/mate-icon-theme/default.nix b/pkgs/desktops/mate/mate-icon-theme/default.nix index 88a2ffad00072..8f0f15fac2dd6 100644 --- a/pkgs/desktops/mate/mate-icon-theme/default.nix +++ b/pkgs/desktops/mate/mate-icon-theme/default.nix @@ -1,11 +1,11 @@ -{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor-icon-theme, gtk3, mate }: +{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor-icon-theme, gtk3 }: stdenv.mkDerivation rec { name = "mate-icon-theme-${version}"; version = "1.22.1"; 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 = "1pn1xbmr4w4mi45nwk1qh18z9rlngmkhp9bw671yn4k6sii8fi3k"; }; |