Emily
f5504c8285
flake: fix Darwin build
...
None of this stuff is necessary these days. This will produce an
executable linking against a Nix store `libiconv`, but as the build
isn’t static to begin with that should be fine. If a static build
is required in the future, `pkgsStatic` can be used as it is in the
`nix-installer` flake.
2025-02-19 22:25:16 +00:00
Emily
a5c0301ee8
flake: use stock Nixpkgs Rust toolchain
...
This makes it easier to use Nixpkgs’ cross‐compilation machinery
and simplifies the flake.
2025-02-19 22:25:16 +00:00
Emily
92b7440174
flake: update crane
2025-02-19 22:24:35 +00:00
Emily
ee9c0b9fa5
flake: drop flake-compat
input
...
Not used by anything.
2025-02-19 22:24:35 +00:00
Emily
a0571cc895
flake: remove default
from the overlay
...
This belongs in `packages` instead (where a duplicate is already
present anyway).
2025-02-19 20:07:15 +00:00
Cole Helbling
260ce740fc
Update flake.nix
2025-02-19 10:32:14 -08:00
Graham Christensen
22d923e664
...flake.nix too
2025-02-19 11:48:48 -05:00
Graham Christensen
f3fe26e7c0
Swift from a nix overlay to the nix input's default package, update flakes
2025-02-19 11:43:40 -05:00
Cole Mickens
10cbd94f3c
flake.nix: plz obiwan rust-analyzer, save me
2024-08-09 13:58:31 -07:00
Cole Helbling
c08b262d2a
Use fenix and crane
2024-08-09 11:12:04 -07:00
Cole Helbling
9ac4ce7953
Revert "Update rust-overlays"
...
This reverts commit 4ea576ab60
.
2024-08-09 11:01:33 -07:00
Cole Helbling
d0a51e7820
Revert "Switch to naersk"
...
This reverts commit 902b81a064
.
2024-08-09 11:01:33 -07:00
Graham Christensen
902b81a064
Switch to naersk
2024-08-09 13:05:55 -04:00
Graham Christensen
4ea576ab60
Update rust-overlays
2024-08-08 21:09:33 -04:00
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