summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorKlaus T. Aehlig <aehlig@linta.de>2024-06-27 16:30:53 +0200
committerKlaus T. Aehlig <aehlig@linta.de>2024-06-27 16:30:53 +0200
commit866e07a8baa21707ec73109b6e502af4fe4c41bf (patch)
tree67386b8a9812b2b49a8aa8fa976505dedfa814e1 /shell.nix
parent05b2d6fc51146fe07340a58bc87fbbd99e788143 (diff)
downloadhello-nix-866e07a8baa21707ec73109b6e502af4fe4c41bf.tar.gz
nix-shell: also add a wrapper script besides the alias
... as aliases are not honored in `nix-shell --run`. In this way, we can add an outer script running all the tests in the correct environment.
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
index a42d2ae..70c8edd 100644
--- a/shell.nix
+++ b/shell.nix
@@ -17,6 +17,7 @@ in pkgs.mkShell rec {
niv
update-deps
cargo
+ nix-dependencies
];
shellHook = ''