From 63c7cc6b8b2402f93a1e581cbf17e2d9d20721dd Mon Sep 17 00:00:00 2001 From: alsaiduq-lab Date: Sun, 16 Mar 2025 23:29:43 -0600 Subject: [PATCH] fixed --- pkgs/tokyo-night/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tokyo-night/default.nix b/pkgs/tokyo-night/default.nix index 4a583c4..52d5afc 100644 --- a/pkgs/tokyo-night/default.nix +++ b/pkgs/tokyo-night/default.nix @@ -17,8 +17,6 @@ stdenv.mkDerivation { patchPhase = '' cd themes - substituteInPlace install.sh \ - --replace-fail 'THEME_NAME=Tokyonight' 'THEME_NAME=Tokyonight' substituteInPlace install.sh \ --replace-fail 'if [ "$UID" -eq "$ROOT_UID" ]; then' 'if false; then' \ --replace-fail 'DEST_DIR="/usr/share/themes"' 'DEST_DIR="$TMPDIR/.themes"' \ @@ -43,9 +41,12 @@ stdenv.mkDerivation { mkdir -p $out/share/themes for theme in $TMPDIR/.themes/*; do if [ -d "$theme" ]; then + themeBase=$(basename "$theme") cp -r "$theme" "$out/share/themes/" fi done + echo "Installed themes:" + ls -la $out/share/themes/ ''; meta = with lib; {