fixed
This commit is contained in:
parent
b746ccab5e
commit
63c7cc6b8b
1 changed files with 3 additions and 2 deletions
|
|
@ -17,8 +17,6 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
cd themes
|
cd themes
|
||||||
substituteInPlace install.sh \
|
|
||||||
--replace-fail 'THEME_NAME=Tokyonight' 'THEME_NAME=Tokyonight'
|
|
||||||
substituteInPlace install.sh \
|
substituteInPlace install.sh \
|
||||||
--replace-fail 'if [ "$UID" -eq "$ROOT_UID" ]; then' 'if false; then' \
|
--replace-fail 'if [ "$UID" -eq "$ROOT_UID" ]; then' 'if false; then' \
|
||||||
--replace-fail 'DEST_DIR="/usr/share/themes"' 'DEST_DIR="$TMPDIR/.themes"' \
|
--replace-fail 'DEST_DIR="/usr/share/themes"' 'DEST_DIR="$TMPDIR/.themes"' \
|
||||||
|
|
@ -43,9 +41,12 @@ stdenv.mkDerivation {
|
||||||
mkdir -p $out/share/themes
|
mkdir -p $out/share/themes
|
||||||
for theme in $TMPDIR/.themes/*; do
|
for theme in $TMPDIR/.themes/*; do
|
||||||
if [ -d "$theme" ]; then
|
if [ -d "$theme" ]; then
|
||||||
|
themeBase=$(basename "$theme")
|
||||||
cp -r "$theme" "$out/share/themes/"
|
cp -r "$theme" "$out/share/themes/"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
echo "Installed themes:"
|
||||||
|
ls -la $out/share/themes/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue