From 3260d8cd7081686145e13810c5e59d8f68cf90a9 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 9 Apr 2017 13:51:16 +0200 Subject: [PATCH] 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 --- pkgs/shells/lambda-mod-zsh-theme/default.nix | 4 ++-- 1 file 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; {