diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-10-05 02:12:11 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-10-05 02:17:19 +0200 |
commit | 5cc18c47813d215c5e198a00f449075df0886f82 (patch) | |
tree | a7a538fd8500e80ad87ec61d4b7e4d5b55053719 /pkgs/desktops/gnome-3/games/swell-foop | |
parent | df48060e4cde381842e943cf36831de02e290576 (diff) |
gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
Diffstat (limited to 'pkgs/desktops/gnome-3/games/swell-foop')
-rw-r--r-- | pkgs/desktops/gnome-3/games/swell-foop/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome-3/games/swell-foop/default.nix b/pkgs/desktops/gnome-3/games/swell-foop/default.nix index b7dc6203b8a91..fec448ff47c26 100644 --- a/pkgs/desktops/gnome-3/games/swell-foop/default.nix +++ b/pkgs/desktops/gnome-3/games/swell-foop/default.nix @@ -8,7 +8,7 @@ in stdenv.mkDerivation rec { name = "${pname}-${version}"; 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 = "1yjmg6sgi7mvp10fsqlkqshajmh8kgdmg6vyj5r8y48pv2ihfk64"; }; |