aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authorLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-14 00:06:03 +0200
committerLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-14 00:06:03 +0200
commit29d809eb49820e89637f1455a5e5687fe9155143 (patch)
treec15f204c3c00b9053ad14096a762285a6529cccd /default.nix
parentf66e075e3ff72f1c648ed984c6a6af436aea19ea (diff)
fix passthru of dependencies to nix shell
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix13
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}