diff options
author | Artturin <Artturin@artturin.com> | 2022-05-06 21:39:28 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-05-06 22:31:38 +0300 |
commit | ea79263e608224491030a0cdf27b9f11ecff2928 (patch) | |
tree | 49fc8fb22633bb7d91f382575327ec33f2cf9f8e /pkgs/shells/zsh/zsh-nix-shell | |
parent | 0bf838dc6eab2a9e3d21d1a7fa758467874005bb (diff) |
pkgs/shells: enable strictDeps
Diffstat (limited to 'pkgs/shells/zsh/zsh-nix-shell')
-rw-r--r-- | pkgs/shells/zsh/zsh-nix-shell/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/shells/zsh/zsh-nix-shell/default.nix b/pkgs/shells/zsh/zsh-nix-shell/default.nix index 8b463eda573e2..e46a5cf727ceb 100644 --- a/pkgs/shells/zsh/zsh-nix-shell/default.nix +++ b/pkgs/shells/zsh/zsh-nix-shell/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, pkgs }: +{ lib, stdenv, fetchFromGitHub, bash }: # To make use of this derivation, use # `programs.zsh.interactiveShellInit = "source ${pkgs.zsh-nix-shell}/share/zsh-nix-shell/nix-shell.plugin.zsh";` @@ -14,6 +14,8 @@ stdenv.mkDerivation rec { sha256 = "sha256-719lVo6p55G1tt3+6nMhZ904nyvlq0Q5exb0il36/Aw="; }; + strictDeps = true; + buildInputs = [ bash ]; installPhase = '' install -D nix-shell.plugin.zsh --target-directory=$out/share/zsh-nix-shell install -D scripts/* --target-directory=$out/share/zsh-nix-shell/scripts |