Commit graph

10 commits

Author SHA1 Message Date
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
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 aa42404970 crane.nix: Expose buildInputs in crossPlatforms 2023-05-22 16:00:34 -06:00
Zhaofeng Li 646507a02c crane.nix: Remove propagated libiconv from rust-overlay toolchain 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 0cd6c9c059 Misc cleanup 2023-05-22 16:00:34 -06:00
Zhaofeng Li d8b9ff7bbd Fix crane package version 2023-05-19 13:00:36 -06:00
Zhaofeng Li 421921ef1c Add package 2023-05-19 02:48:52 -06:00