summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2017-04-09 13:51:16 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2017-04-09 13:51:16 +0200
commit3260d8cd7081686145e13810c5e59d8f68cf90a9 (patch)
treebd0cde4bea73643f96a376393a045bf9b35151df
parentcd56c3334e67fa40e37b1610627987dcd63a1e91 (diff)
downloadnixlib-3260d8cd7081686145e13810c5e59d8f68cf90a9.tar
nixlib-3260d8cd7081686145e13810c5e59d8f68cf90a9.tar.gz
nixlib-3260d8cd7081686145e13810c5e59d8f68cf90a9.tar.bz2
nixlib-3260d8cd7081686145e13810c5e59d8f68cf90a9.tar.lz
nixlib-3260d8cd7081686145e13810c5e59d8f68cf90a9.tar.xz
nixlib-3260d8cd7081686145e13810c5e59d8f68cf90a9.tar.zst
nixlib-3260d8cd7081686145e13810c5e59d8f68cf90a9.zip
lambda-mod-zsh-theme: refactor install behavior to use `themes` dir
Now it's possible to set the path of this derivation as `ZSH_CUSTOM` in
the zsh configuration, so it's possible to use the theme directly from
the store path.

see https://github.com/robbyrussell/oh-my-zsh/wiki/Customization#overriding-and-adding-themes
-rw-r--r--pkgs/shells/lambda-mod-zsh-theme/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/shells/lambda-mod-zsh-theme/default.nix b/pkgs/shells/lambda-mod-zsh-theme/default.nix
index 4096d88b1276..e53aa28666b6 100644
--- a/pkgs/shells/lambda-mod-zsh-theme/default.nix
+++ b/pkgs/shells/lambda-mod-zsh-theme/default.nix
@@ -16,8 +16,8 @@ in stdenv.mkDerivation {
   buildPhases = [ "unpackPhase" "installPhase" ];
 
   installPhase = ''
-    mkdir -p $out/share
-    cp lambda-mod.zsh-theme $out/share
+    mkdir -p $out/share/themes
+    cp lambda-mod.zsh-theme $out/share/themes
   '';
 
   meta = with stdenv.lib; {