diff --git a/home/program/bash/module/Nix.nix b/home/program/bash/module/Nix.nix index 9f546589..6767a83b 100644 --- a/home/program/bash/module/Nix.nix +++ b/home/program/bash/module/Nix.nix @@ -30,6 +30,10 @@ SHELL_NAME="''${tag}" NIXPKGS_ALLOW_UNFREE=1 nix shell --impure ''${pkgs[@]} } + function nix_depends() { + nix why-depends /run/current-system nixpkgs#''${1} + } + # Run stuff directrly from Nixpks. # Usage: nixpkgs_run [COMMAND] function nixpkgs_run() {