Skip to content

Commit

Permalink
zsh-clipboard: Make independent of Nix file
Browse files Browse the repository at this point in the history
This way, changing the Nix file won't change the derivation
  • Loading branch information
infinisil committed Jan 23, 2023
1 parent f6e5ea8 commit d66bed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/shells/zsh/zsh-clipboard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ 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; {
Expand Down

0 comments on commit d66bed8

Please sign in to comment.