Commit graph

16 commits

Author SHA1 Message Date
Luc Perkins 898456dffe
Fix dev shell upload to cache 2024-03-29 16:26:26 -03:00
Eelco Dolstra 7a2d7ce296 Simplify dev shell 2024-02-29 21:42:35 +01:00
Eelco Dolstra e5513406df Update to latest attic 2024-02-29 16:26:48 +01:00
Cole Helbling e8efa56401 flake: don't include cross in default devshell 2024-01-18 11:06:00 -08:00
Eelco Dolstra d73bb0a676 Drop static linking 2024-01-09 12:02:14 +01:00
Eelco Dolstra 8115ab51e2 Update to Nixpkgs 23.11 2024-01-09 12:01:33 +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 c055fa27f7 Mechanical migration to FlakeHub 2023-10-10 16:16:05 -04:00
Luc Perkins fa869ccfd8
Rename the tool in all sources (#13) 2023-06-24 16:24:52 -06:00
Luc Perkins f0a578b8f7
Remove flake-utils, update flake.lock, and reformat Nix sources 2023-06-22 11:19:49 -07:00
Zhaofeng Li 90320a0cbd Add some cursed setup for cross-compilation in shell
Yes, we _can_ cross-compile to multiple systems in a single devShell :D

Linux cross-compilation already works because we don't have any
buildInputs, but this allows macOS to work. Now x86_64-darwin can
cross-compile to all supported targets.
2023-05-22 16:00:34 -06:00
Zhaofeng Li e4c22456ef Configure nightly toolchain in crane.nix
Get rid of this non-intuitive dependency of cranePkgs.cargoTargets.
2023-05-22 16:00:34 -06:00
Zhaofeng Li 2f25e613b2 flake.nix: Fix inputsFrom 2023-05-22 16:00:34 -06:00
Zhaofeng Li 421921ef1c Add package 2023-05-19 02:48:52 -06:00
Graham Christensen 81af9b36fb
Use the upstream caching action, build ourselves, and re-run using our own built version 2023-05-18 14:48:20 -04:00
Zhaofeng Li 1ad1349d96 Kind of works 2023-05-08 03:48:11 -06:00