about summary refs log tree commit diff
path: root/pkgs/data/themes
diff options
context:
space:
mode:
authorJosé Romildo <malaquias@gmail.com>2023-11-01 21:00:27 -0300
committerJosé Romildo <malaquias@gmail.com>2023-11-01 21:00:27 -0300
commite7621355e79b25d3e45afc388efcce12002cc38d (patch)
treef816546b109d5d2ce9deae945fd6a73678fc9510 /pkgs/data/themes
parent2c732a9b5a5a60d91c685c92b87db5b8f5cf5812 (diff)
downloadnixlib-e7621355e79b25d3e45afc388efcce12002cc38d.tar
nixlib-e7621355e79b25d3e45afc388efcce12002cc38d.tar.gz
nixlib-e7621355e79b25d3e45afc388efcce12002cc38d.tar.bz2
nixlib-e7621355e79b25d3e45afc388efcce12002cc38d.tar.lz
nixlib-e7621355e79b25d3e45afc388efcce12002cc38d.tar.xz
nixlib-e7621355e79b25d3e45afc388efcce12002cc38d.tar.zst
nixlib-e7621355e79b25d3e45afc388efcce12002cc38d.zip
qogir-kde: unstable-2022-07-08 -> unstable-2023-10-20
- Update version
- Propagate sddm theme dependencies to user env
Diffstat (limited to 'pkgs/data/themes')
-rw-r--r--pkgs/data/themes/qogir-kde/default.nix20
1 files changed, 17 insertions, 3 deletions
diff --git a/pkgs/data/themes/qogir-kde/default.nix b/pkgs/data/themes/qogir-kde/default.nix
index 44182aa3f45a..1dd3deba8dff 100644
--- a/pkgs/data/themes/qogir-kde/default.nix
+++ b/pkgs/data/themes/qogir-kde/default.nix
@@ -1,26 +1,40 @@
 { lib
 , stdenvNoCC
 , fetchFromGitHub
+, kdeclarative
+, plasma-framework
+, plasma-workspace
 , gitUpdater
 }:
 
 stdenvNoCC.mkDerivation rec {
   pname = "qogir-kde";
-  version = "unstable-2022-07-08";
+  version = "unstable-2023-10-20";
 
   src = fetchFromGitHub {
     owner = "vinceliuice";
     repo = pname;
-    rev = "f240eae10978c7fee518f7a8be1c41a21a9d5c2e";
-    hash = "sha256-AV60IQWwgvLwDO3ylILwx1DkKadwo4isn3JX3WpKoxQ=";
+    rev = "1cfe8da54e6f76d5ce0d2234dcb4f5186431edb3";
+    hash = "sha256-Ts8cS7dH8RkfRgWvzDKLCC2G6Hsnvx0NAGstfxMIt+Y=";
   };
 
+  # Propagate sddm theme dependencies to user env otherwise sddm does
+  # not find them. Putting them in buildInputs is not enough.
+  propagatedUserEnvPkgs = [
+    kdeclarative.bin
+    plasma-framework
+    plasma-workspace
+  ];
+
   postPatch = ''
     patchShebangs install.sh
 
     substituteInPlace install.sh \
       --replace '$HOME/.local' $out \
       --replace '$HOME/.config' $out/share
+
+    substituteInPlace sddm/*/Main.qml \
+      --replace /usr $out
   '';
 
   installPhase = ''