diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2017-04-09 13:51:16 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2017-04-09 13:51:16 +0200 |
commit | 3260d8cd7081686145e13810c5e59d8f68cf90a9 (patch) | |
tree | bd0cde4bea73643f96a376393a045bf9b35151df | |
parent | cd56c3334e67fa40e37b1610627987dcd63a1e91 (diff) | |
download | nixlib-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.nix | 4 |
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; { |