diff options
author | Fabian Kirchner <kirchner@posteo.de> | 2023-10-14 00:06:03 +0200 |
---|---|---|
committer | Fabian Kirchner <kirchner@posteo.de> | 2023-10-14 00:06:03 +0200 |
commit | 29d809eb49820e89637f1455a5e5687fe9155143 (patch) | |
tree | c15f204c3c00b9053ad14096a762285a6529cccd | |
parent | f66e075e3ff72f1c648ed984c6a6af436aea19ea (diff) |
fix passthru of dependencies to nix shell
-rw-r--r-- | default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/default.nix b/default.nix index f6bb4d1..8428c03 100644 --- a/default.nix +++ b/default.nix @@ -10,12 +10,13 @@ let anissue = (super.callCabal2nix "anissue" ./. { }).overrideAttrs (oldAttrs: rec { nativeBuildInputs = [ pkgs.installShellFiles ]; buildInputs = oldAttrs.buildInputs or [] ++ [ pkgs.makeWrapper ]; - passthru.dependencies = [ - pkgs.coreutils - pkgs.git - pkgs.mdcat - pkgs.tree-grepper - ]; + passthru = oldAttrs.passthru // { dependencies = [ + pkgs.coreutils + pkgs.git + pkgs.mdcat + pkgs.tree-grepper + ]; + }; postInstall = '' exe=${oldAttrs.pname} |