Graham Christensen
3c54557810
Shrink the chain, rebuild every time
2024-06-12 21:20:43 -04:00
Graham Christensen
1e5e79a3c8
lol
2024-06-12 17:55:39 -04:00
Graham Christensen
9c7b8e3fc9
Trip a circuit breaker when we get a 429 so we don't keep doing useless work
2024-06-12 15:44:26 -04:00
Graham Christensen
6742c6a85e
Fixup dev shell on macos
2024-06-12 15:36:07 -04:00
Luc Perkins
5da333f97b
Add missing pkg-config dependency to dev shell
2024-05-17 14:32:40 -03:00
Luc Perkins
90180e31ef
Add logic for determining environment
2024-05-16 13:53:46 -03:00
Luc Perkins
974048fcd6
Fix Clippy issues
2024-03-29 17:19:44 -03:00
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