gnome3: remove version attribute

It was used by some themes in the past, but it broke them whenever GNOME
was updated, so it should not be used anymore.
This commit is contained in:
Jan Tojnar 2018-10-01 01:56:38 +02:00
parent 959435e835
commit 9db0207496
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
3 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gnome3.yelp itstool libxml2 intltool ]; buildInputs = [ gnome3.yelp itstool libxml2 intltool ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://help.gnome.org/users/gnome-help/${gnome3.version}"; homepage = https://help.gnome.org/users/gnome-help/;
description = "User and system administration help for the GNOME desktop"; description = "User and system administration help for the GNOME desktop";
maintainers = gnome3.maintainers; maintainers = gnome3.maintainers;
license = licenses.cc-by-30; license = licenses.cc-by-30;

View File

@ -7,7 +7,6 @@ lib.makeScope pkgs.newScope (self: with self; {
updateScript = callPackage ./update.nix { }; updateScript = callPackage ./update.nix { };
version = "3.26";
maintainers = with pkgs.lib.maintainers; [ lethalman jtojnar ]; maintainers = with pkgs.lib.maintainers; [ lethalman jtojnar ];
corePackages = with gnome3; [ corePackages = with gnome3; [

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
patchShebangs install.sh patchShebangs install.sh
sed -i install.sh \ sed -i install.sh \
-e "s|if .*which gnome-shell.*;|if true;|" \ -e "s|if .*which gnome-shell.*;|if true;|" \
-e "s|CURRENT_GS_VERSION=.*$|CURRENT_GS_VERSION=${gnome3.version}|" -e "s|CURRENT_GS_VERSION=.*$|CURRENT_GS_VERSION=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}|"
mkdir -p $out/share/themes mkdir -p $out/share/themes
./install.sh --dest $out/share/themes ./install.sh --dest $out/share/themes
rm $out/share/themes/*/COPYING rm $out/share/themes/*/COPYING