Skip to content

Commit

Permalink
arc-theme: Fix build with gnome 3.24
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Sep 6, 2017
1 parent f03964f commit fefdc00
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pkgs/misc/themes/arc/default.nix
@@ -1,14 +1,18 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gnome3, gtk-engine-murrine }:

stdenv.mkDerivation rec {
name = "${pname}-${version}";
let
# treat versions newer than 3.22 as 3.22
gnomeVersion = if stdenv.lib.versionOlder "3.22" gnome3.version then "3.22" else gnome3.version;
pname = "arc-theme";

in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "2017-05-12";

src = fetchFromGitHub {
owner = "horst3180";
repo = pname;
rev = "8290cb813f157a22e64ae58ac3dfb5983b0416e6";
owner = "horst3180";
repo = pname;
rev = "8290cb813f157a22e64ae58ac3dfb5983b0416e6";
sha256 = "1lxiw5iq9n62xzs0fks572c5vkz202jigndxaankxb44wcgn9zyf";
};

Expand All @@ -18,7 +22,7 @@ stdenv.mkDerivation rec {

preferLocalBuild = true;

configureFlags = [ "--disable-unity" ];
configureFlags = [ "--disable-unity" "--with-gnome=${gnomeVersion}" ];

postInstall = ''
mkdir -p $out/share/plank/themes
Expand All @@ -30,9 +34,9 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "A flat theme with transparent elements for GTK 3, GTK 2 and Gnome-Shell";
homepage = https://github.com/horst3180/arc-theme;
license = licenses.gpl3;
platforms = platforms.unix;
homepage = https://github.com/horst3180/arc-theme;
license = licenses.gpl3;
maintainers = with maintainers; [ simonvandel romildo ];
platforms = platforms.unix;
};
}

2 comments on commit fefdc00

@teh
Copy link
Contributor

@teh teh commented on fefdc00 Sep 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peterhoeg would it make sense to cherry-pick this into 17.09?

@peterhoeg
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Please sign in to comment.