From ebc0798e95e57fcaea460b11507ad0001645adc9 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Mon, 23 Jan 2023 22:59:27 +0100 Subject: [PATCH] zsh-clipboard: Make independent of Nix file This way, changing the Nix file won't change the derivation --- pkgs/shells/zsh/zsh-clipboard/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/zsh/zsh-clipboard/default.nix b/pkgs/shells/zsh/zsh-clipboard/default.nix index eb395d74472..312731e7cb1 100644 --- a/pkgs/shells/zsh/zsh-clipboard/default.nix +++ b/pkgs/shells/zsh/zsh-clipboard/default.nix @@ -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; {