about summary refs log tree commit diff
path: root/pkgs/data/themes
diff options
context:
space:
mode:
authorJosé Romildo <malaquias@gmail.com>2021-07-27 16:26:45 -0300
committerJosé Romildo <malaquias@gmail.com>2021-07-27 17:53:25 -0300
commite91e8a8939ea96919dcc7235d86b2a021af476e2 (patch)
tree08318113adb2b25202b3708c80a81df3428f157f /pkgs/data/themes
parentd71d1915bf40fc6f81ed4f80618613f59b84c9a9 (diff)
whitesur-gtk-theme: 2021-06-23 -> 2021-07-27
Diffstat (limited to 'pkgs/data/themes')
-rw-r--r--pkgs/data/themes/whitesur/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/data/themes/whitesur/default.nix b/pkgs/data/themes/whitesur/default.nix
index e9691eaad7d68..c158cc8a00ced 100644
--- a/pkgs/data/themes/whitesur/default.nix
+++ b/pkgs/data/themes/whitesur/default.nix
@@ -2,6 +2,7 @@
 , stdenv
 , fetchFromGitHub
 , glib
+, gnome-shell
 , gnome-themes-extra
 , libxml2
 , sassc
@@ -10,17 +11,18 @@
 
 stdenv.mkDerivation rec {
   pname = "whitesur-gtk-theme";
-  version = "2021-06-23";
+  version = "2021-07-27";
 
   src = fetchFromGitHub {
     owner = "vinceliuice";
     repo = pname;
     rev = version;
-    sha256 = "075fw57mv6zadq4dryn8bg2b3vq8inmisq18s758cv53pprxh9hw";
+    sha256 = "17x4lqlv6whx8vg0c1nm89j7671l033apn4alqyhjb9qx5w2fa43";
   };
 
   nativeBuildInputs = [
     glib
+    gnome-shell
     libxml2
     sassc
     util-linux
@@ -35,6 +37,9 @@ stdenv.mkDerivation rec {
 
     # Do not provide `sudo`, as it is not needed in our use case of the install script
     substituteInPlace lib-core.sh --replace '$(which sudo)' false
+
+    # Provides a dummy home directory
+    substituteInPlace lib-core.sh --replace 'MY_HOME=$(getent passwd "''${MY_USERNAME}" | cut -d: -f6)' 'MY_HOME=/tmp'
   '';
 
   dontBuild = true;