zsh-clipboard: Make independent of Nix file

This way, changing the Nix file won't change the derivation
This commit is contained in:
Silvan Mosberger 2023-01-23 22:59:27 +01:00
parent f6e5ea8a2c
commit ebc0798e95

View File

@ -4,13 +4,12 @@ stdenv.mkDerivation rec {
pname = "zsh-clipboard";
version = "1.0";
src = ./.;
dontUnpack = true;
strictDeps = true;
dontBuild = true;
installPhase = ''
install -D -m0444 -t $out/share/zsh/plugins/clipboard ./clipboard.plugin.zsh
install -D -m0444 -T ${./clipboard.plugin.zsh} $out/share/zsh/plugins/clipboard/clipboard.plugin.zsh
'';
meta = with lib; {