Cole Helbling
3cb4c6dbe0
Show full backtrace if build hook panics
2024-01-18 14:20:57 -08:00
Cole Helbling
28eca6460d
Don't create the cache
...
attic-priv has functionality to getsert caches as they are requested.
2024-01-18 11:06:19 -08:00
Cole Helbling
e8efa56401
flake: don't include cross in default devshell
2024-01-18 11:06:00 -08:00
Cole Helbling
b08e97efea
Don't rely on cache.nixos.org
...
Users can substitute from it the first time they encounter a path it
has, but otherwise they should re-substitute from us.
2024-01-18 07:38:51 -08:00
Eelco Dolstra
ac64bcd221
Merge pull request #10 from DeterminateSystems/eelcodolstra/fh-159-magic-nix-cache-handle-flakehub-errors-more-gracefully
...
Improve error handling in FlakeHub cache setup
2024-01-11 11:02:41 +01:00
Eelco Dolstra
ffccb9bd98
BadURL -> BadUrl
2024-01-10 23:34:15 +01:00
Eelco Dolstra
0d5e889783
Remove use of /cache/token to get a fallback cache
...
We rely on the GitHub token creating a project on FlakeHub as a side
effect.
2024-01-10 21:31:14 +01:00
Eelco Dolstra
0d9e0c088c
Don't use /cache/token anymore except as a fallback
2024-01-10 20:48:48 +01:00
Eelco Dolstra
9781bb8b6e
Improve error handling in FlakeHub cache setup
...
Also update the token endpoint.
2024-01-10 20:19:04 +01:00
Eelco Dolstra
e4bb70dba3
Merge pull request #9 from DeterminateSystems/eelcodolstra/fh-158-magic-nix-cache-handle-post-build-hook-failure
...
Ignore errors from the post-build hook
2024-01-10 18:05:10 +01:00
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
0619bb7af3
Shut up resolver warning
2024-01-10 16:27:53 +01:00
Eelco Dolstra
a5caffb2e0
Merge pull request #8 from DeterminateSystems/export-closure
...
Upload Nix closure to S3
2024-01-09 17:18:14 +01:00
Eelco Dolstra
bb714ce48c
Fix release scripts
2024-01-09 13:52:32 +01:00
Eelco Dolstra
224e365867
Fix macOS build
2024-01-09 13:32:12 +01:00
Eelco Dolstra
894b558a74
Disable magic-nix-cache-action-priv for now
2024-01-09 12:24:19 +01:00
Eelco Dolstra
345fd479ed
Upload Nix closure
2024-01-09 12:13:41 +01:00
Eelco Dolstra
d73bb0a676
Drop static linking
2024-01-09 12:02:14 +01:00
Eelco Dolstra
16dd05e8f0
Update rustls-webpki dependency
...
https://github.com/DeterminateSystems/magic-nix-cache-priv/security/dependabot/1
2024-01-09 12:01:46 +01:00
Eelco Dolstra
8115ab51e2
Update to Nixpkgs 23.11
2024-01-09 12:01:33 +01:00
Eelco Dolstra
c6a27d60ea
Merge pull request #6 from DeterminateSystems/update-rustix
...
Update rustix dependency
2024-01-08 17:42:54 +01:00
Eelco Dolstra
3a1064ece3
Update rustix dependency
...
https://github.com/DeterminateSystems/magic-nix-cache-priv/security/dependabot/2
2024-01-08 17:18:13 +01:00
Cole Helbling
50a138c21d
Merge pull request #7 from DeterminateSystems/fix-branch
...
Fix magic-nix-cache-action-priv branch
2024-01-08 08:05:20 -08:00
Eelco Dolstra
cf983504ea
Fix magic-nix-cache-action-priv branch
2024-01-08 16:53:00 +01:00
Eelco Dolstra
684aa7a2c4
Merge pull request #3 from DeterminateSystems/async-push
...
Push to attic from the post-build-hook
2023-12-15 17:01:19 +01:00
Eelco Dolstra
3a111c9404
Merge pull request #4 from DeterminateSystems/cole-h-patch-1
...
release-branches: inherit secrets
2023-12-14 21:41:57 +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
Cole Helbling
53412e544d
release-branches: inherit secrets
2023-12-14 10:24:14 -08: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
5c068ecf75
Update attic dependency
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
Cole Helbling
369a0a0a5a
Merge pull request #34 from DeterminateSystems/enable-cache-and-checker
...
Enable Magic Nix Cache and Flake Checker on ARM64
2023-11-09 19:42:59 -08:00
Ana Hobden
7d16366f86
Don't enable flake checker on arm Mac for now
2023-11-09 09:56:04 -08:00
Ana Hobden
08bca8b5f6
Enable Magic Nix Cache and Flake Checker on ARM64
2023-11-09 08:33:23 -08:00
Ana Hobden
7dc018b8c8
Merge pull request #33 from DeterminateSystems/hoverbear/fh-40-publish-binaries-for-arm64-darwin
...
Enable aarch64 macOS builds
2023-11-09 08:03:02 -08:00
Ana Hobden
969b5ea69a
Temporarily disable flake-checker and cache on aarch64 macs until this can land
2023-11-08 12:10:36 -08:00
Ana Hobden
c3793c701d
Enable aarch64 macOS builds
2023-11-08 11:13:54 -08:00
Cole Helbling
a2eb0c6759
Merge pull request #31 from DeterminateSystems/migrate-to-flakehub
...
Mechanical migration to FlakeHub
2023-10-10 13:39:23 -07:00
Graham Christensen
c055fa27f7
Mechanical migration to FlakeHub
2023-10-10 16:16:05 -04:00
Ana Hobden
8f7cfe5b15
Merge pull request #29 from DeterminateSystems/DS-970
...
DS-970: Add Magic Nix Cache and other workflow changes
2023-07-14 10:16:19 -07:00
Martin Wimpress
a62862be44
DS-970: Add Magic Nix Cache and other workflow changes
...
An assortment of GitHub Workflow changes, potentially including:
- Enable DeterminateSystems/magic-nix-cache-action@main
- Reference all DeterminateSystems actions via @main
- Make update.yaml consistent across repos
- Remove unnecessary github-token: from nix-installer-action
- Update actions/checkout@v2 to actions/checkout@v3
2023-07-14 10:17:37 +01:00
Luc Perkins
0d1afc4a50
Add license file to repo ( #27 )
2023-07-06 21:27:10 -04:00
Cole Helbling
b84e51186e
build: only run one at a time ( #23 )
2023-06-28 14:35:28 -07:00
Luc Perkins
87e2ed69b0
Merge pull request #25 from DeterminateSystems/cli-help-output
...
Enable CLI help output
2023-06-28 14:06:14 -07:00
Luc Perkins
3e4969b5be
Enable CLI help output
2023-06-28 13:37:35 -07:00
Cole Helbling
d9dc1240bb
Merge pull request #21 from DeterminateSystems/rel-0.1.1
2023-06-27 12:21:51 -07:00
Cole Helbling
3a6f35d60a
Merge branch 'main' into rel-0.1.1
2023-06-27 11:48:17 -07:00