about summary refs log tree commit diff
path: root/pkgs/data/themes/graphite-kde-theme/default.nix
diff options
context:
space:
mode:
authorJosé Romildo <malaquias@gmail.com>2023-10-30 15:50:48 -0300
committerJosé Romildo <malaquias@gmail.com>2023-10-30 15:50:48 -0300
commit01a3f1a169c45dbf9c2bb67c08e5fa329827e6a7 (patch)
treefbf1ef932fdccdd5a863c694797ead43f246d190 /pkgs/data/themes/graphite-kde-theme/default.nix
parent7378978469efa3b2b2f97d645a2a0b0e2447da2b (diff)
graphite-kde-theme: 2022-02-08 -> unstable-2023-10-25
Diffstat (limited to 'pkgs/data/themes/graphite-kde-theme/default.nix')
-rw-r--r--pkgs/data/themes/graphite-kde-theme/default.nix21
1 files changed, 13 insertions, 8 deletions
diff --git a/pkgs/data/themes/graphite-kde-theme/default.nix b/pkgs/data/themes/graphite-kde-theme/default.nix
index dd3a215a03851..4ffcc318357ff 100644
--- a/pkgs/data/themes/graphite-kde-theme/default.nix
+++ b/pkgs/data/themes/graphite-kde-theme/default.nix
@@ -5,28 +5,33 @@
 
 stdenv.mkDerivation rec {
   pname = "graphite-kde-theme";
-  version = "2022-02-08";
+  version = "unstable-2023-10-25";
 
   src = fetchFromGitHub {
     owner = "vinceliuice";
     repo = pname;
-    rev = version;
-    sha256 = "0pnn5s1vfdgkpsy5sc838731ly1imi8pbyd4asibw4zi238l0nvf";
+    rev = "33cc85c49c424dfcba73e6ee84b0dc7fb9e52566";
+    hash = "sha256-iQGT2x0wY2EIuYw/a1MB8rT9BxiqWrOyBo6EGIJwsFw=";
   };
 
-  installPhase = ''
-    runHook preInstall
-
+  postPatch = ''
     patchShebangs install.sh
 
     substituteInPlace install.sh \
       --replace '$HOME/.local' $out \
       --replace '$HOME/.config' $out/share
 
-    name= ./install.sh --dest $out/share/themes
+    substituteInPlace sddm/*/Main.qml \
+      --replace /usr $out
+  '';
+
+  installPhase = ''
+    runHook preInstall
+
+    name= ./install.sh
 
     mkdir -p $out/share/sddm/themes
-    cp -a sddm/Graphite $out/share/sddm/themes/
+    cp -a sddm/Graphite* $out/share/sddm/themes/
 
     runHook postInstall
   '';