Bryan Bennett
5808a868f1
Instrument with bisect_ppx only conditionally
2024-08-08 08:08:58 -04:00
Bryan Bennett
bc779a2764
Update flake and conventions for 24.05+
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
Bryan Bennett
a53412a1f9
Fix tests during nix build
2024-08-08 08:08:57 -04:00
Bryan Bennett
388f4726c8
Update flake.lock
2024-08-08 08:08:57 -04:00
Bryan Bennett
a2fff9333f
Strip and pack final binary
2024-03-23 08:17:20 -04:00
Bryan Bennett
358ae864fc
Fix depends specification
2024-03-23 08:16:51 -04:00
Bryan Bennett
606d717276
Fix error message if failing to hash file
2024-03-23 07:15:16 -04:00
George Macon
76e06049cf
Use . if no flake reference is specified
2024-03-23 07:14:18 -04:00
Bryan Bennett
6b313a6ff6
Rework hash_files to return (str, str) result
2024-03-13 21:42:17 -04:00
Bryan Bennett
98c3131f7f
Reduce dune version to work with Nix 23.11
2024-03-13 16:03:29 -04:00
Bryan Bennett
02a4503106
nixpkgs-fmt default.nix
2024-03-13 15:51:47 -04:00
Bryan Bennett
ce8b85584a
Add pre-commit-hooks.nix integration
2024-03-13 15:51:47 -04:00
Bryan Bennett
44d628b6d9
Ignore result symlink
2024-03-13 15:51:47 -04:00
Bryan Bennett
443a10d738
Add github workflow to proxy tests from sr.ht
2024-01-13 09:32:09 -05:00
Bryan Bennett
6e28820659
Enable testing during nix builds
2024-01-11 08:31:52 -05:00
Bryan Bennett
04337c8c5f
Add note about justfile in readme
2024-01-08 15:43:53 -05:00
Bryan Bennett
fa7b93e3da
Format with ocamlformat
2024-01-08 15:40:13 -05:00
Bryan Bennett
5d0923569f
More tests for version.extract_version_number
2024-01-08 15:30:18 -05:00
Bryan Bennett
04109672f0
Add tests
2024-01-08 14:59:28 -05:00
Bryan Bennett
7759d2ac6a
Continue moving heavy-lifting into library
2024-01-08 14:59:00 -05:00
Bryan Bennett
21c8ff71e5
Add simple justfile
2024-01-08 14:54:03 -05:00
Bryan Bennett
897ae138ea
Lock ocamlformat version
2024-01-08 14:52:46 -05:00
Bryan Bennett
6e0eb50284
Add .gitignore
2024-01-08 14:52:39 -05:00
Bryan Bennett
31cac9373c
Bugfix: Add separator when calling Lib.Util.nix
2024-01-03 14:05:31 -05:00
r-vdp
83aaf4bc4d
Fix overlay to include nix-filter
2023-12-31 16:26:55 -05:00
Bryan Bennett
8119738ddc
Add source filtering
...
This resolves #4 by excluding the git subdirectory when building as a
flake.
Test builds with `nix build path:.` before and after the change.
2023-12-30 14:26:12 -05:00
Bryan Bennett
4013e8fca6
Remove utop
...
rtop is included with ocamlPackages.reason
2023-12-30 14:25:03 -05:00
Bryan Bennett
6ec3bd2378
Add flake input tracking
...
and restructure the whole codebase!
Not fully tested due to #4 ; theoretically resolves #1
2023-12-29 15:34:44 -05:00
Bryan Bennett
e3688e207e
Catch error thrown by lstat if path does not exist
2023-12-22 08:37:32 -05:00
Bryan Bennett
7ec4cfb172
Get environment restoration working
2023-12-22 08:32:07 -05:00
Bryan Bennett
b7413a17f1
Fix rmrf to properly handle symlinks
2023-12-21 14:03:31 -05:00
Bryan Bennett
bddef99967
Add utop to devShell
2023-12-21 14:03:10 -05:00
Bryan Bennett
ce54582744
Fix substituteInPlace invocation take 2
2023-12-21 11:39:25 -05:00
Bryan Bennett
ee3b429285
Fix substituteInPlace invocation
2023-12-21 11:34:32 -05:00
Bryan Bennett
c420800367
Fix overlay callPackage
2023-12-21 11:23:57 -05:00
Bryan Bennett
69aedbe308
Initial commit
2023-12-21 09:36:09 -05:00