3
0
Fork 0
forked from mirrors/nixpkgs

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
This commit is contained in:
Maximilian Bosch 2017-04-09 13:51:16 +02:00
parent cd56c3334e
commit 3260d8cd70
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -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; {