Commit graph

67 commits

Author SHA1 Message Date
Eelco Dolstra 6dd1146c24 Use exec 2024-01-10 17:46:55 +01:00
Eelco Dolstra c2542a8016 Ignore errors from the post-build hook
Also, pass the daemon port via the wrapper script rather than an
environment variable.
2024-01-10 16:55:22 +01:00
Eelco Dolstra f757190c3b Error handling 2023-12-14 21:35:50 +01:00
Eelco Dolstra 08cc0812bf Formatting 2023-12-14 21:29:19 +01:00
Eelco Dolstra 71157983e3 Allow the daemon to notify the parent that it's ready 2023-12-14 17:42:46 +01:00
Eelco Dolstra 6bf609975a Push paths to FlakeHub from the post-build-hook
Also get rid of daemonization, it causes too many problems with tokio.
2023-12-14 17:42:46 +01:00
Eelco Dolstra fd1420febf
Add support for pushing to Attic (#1)
* Add support for pushing to Attic

* fmt/clippy

* Fix attic dependency

* Pass ssh private key

* Try to inherit secrets

* Fix static build

* Fix default package

* Fix daemonizing

* Fix clippy

* Update nix.conf

* Add --use-attic flag

* --use-attic -> --use-flakehub

* Handle project not existing

* Handle Attic init failure

* Skip .chroot paths

* Update netrc

* Downgrade to Nixpkgs 23.05 to fix static builds

* Use rust 1.70

We need 1.70, but 1.69 is the default in Nixpkgs 23.05.

* Rename stuff

* Use magic-nix-cache-priv

* Hack
2023-12-14 08:09:09 -08:00
Graham Christensen dde3e15050 release 0.1.2 2023-12-04 14:58:46 -05:00
Kiskae 606006b931 Pass through HTTP 429 to the nix daemon 2023-11-10 10:53:45 +00:00
Luc Perkins 3e4969b5be
Enable CLI help output 2023-06-28 13:37:35 -07:00
Graham Christensen 0d28f6ca05
v0.1.1 2023-06-27 13:32:46 -04:00
Graham Christensen 83d7fb865a
Add a license 2023-06-26 11:25:17 -04:00
Graham Christensen dc021fe0ef
update the diagnostics url 2023-06-26 07:30:47 -04:00
Graham Christensen a71b77404a
Add diagnostics data, and a readme about it 2023-06-25 23:06:40 -04:00
Graham Christensen 59b59cfa3a
Record some basic data about gets and puts 2023-06-25 23:05:06 -04:00
Graham Christensen 6ef35ded69
Accept diagnostics as an argument, even though it doesn't do anything 2023-06-25 23:04:58 -04:00
Luc Perkins fa869ccfd8
Rename the tool in all sources (#13) 2023-06-24 16:24:52 -06:00