Commit graph

9 commits

Author SHA1 Message Date
Bryan Bennett
3f5f7a602d
Run shellcheck on direnvrc during checkPhase 2024-08-11 12:18:57 -04:00
George Macon
b7599c8660
Fix syntax error in direnvrc
Signed-off-by: George Macon <george@themacons.net>
2024-08-10 19:28:12 -04:00
Bryan Bennett
bf9aa7e0aa
Fix direnvrc to allow passing more arguments to print-dev-env 2024-08-08 08:08:58 -04:00
George Macon
33d91a5af4
Pass arguments to flake_env in the correct order
This prevents flake_env from deleting the directory containing the
.envrc file if the flake specifier is ".". In 7759d2a, the order of the
arguments was swapped:

In bin/flake_env.re
-      let flake_specifier = argv[1];
-      let layout_directory = argv[2];

In lib/flake_env__util.re
+    let layout_directory = argv[1];
+    let flake_specifier = argv[2];

but the direnvrc was not updated to match.

Fixes: 7759d2ac6a
2024-08-08 08:08:57 -04:00
George Macon
76e06049cf
Use . if no flake reference is specified 2024-03-23 07:14:18 -04:00
Bryan Bennett
7759d2ac6a
Continue moving heavy-lifting into library 2024-01-08 14:59:00 -05:00
Bryan Bennett
7ec4cfb172
Get environment restoration working 2023-12-22 08:32:07 -05:00
Bryan Bennett
ce54582744
Fix substituteInPlace invocation take 2 2023-12-21 11:39:25 -05:00
Bryan Bennett
69aedbe308
Initial commit 2023-12-21 09:36:09 -05:00