1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00
Commit graph

44 commits

Author SHA1 Message Date
Zhaofeng Li
d20160548e flake/integration-tests: Expose GitHub Actions matrix
Currently only integration tests.
2024-10-26 12:49:18 -06:00
Zhaofeng Li
9f9facd905 flake: Remove flake-utils 2024-09-08 12:44:22 -04:00
Zhaofeng Li
c5d84a475d Migrate integration tests to flake-parts
Well, actually also to fix them.
2024-08-30 12:33:28 -04:00
Zhaofeng Li
6b1d4520f3 Migrate internalMatrix to flake-parts 2024-08-30 12:33:28 -04:00
Zhaofeng Li
3ecea8d07f Migrate NixOS modules to flake-parts 2024-08-30 12:33:28 -04:00
Zhaofeng Li
8dc0bdbf7f Migrate overlays to flake-parts 2024-08-30 12:33:28 -04:00
Zhaofeng Li
11163ab253 Migrate packages to flake-parts 2024-08-30 12:33:28 -04:00
Zhaofeng Li
54f4854e9f Start migration to flake-parts 2024-08-30 12:33:28 -04:00
Zhaofeng Li
fcb7c6067f flake: Bump nixpkgs-stable to 24.05 2024-08-30 12:33:28 -04:00
Zhaofeng Li
e81151ed59 flake.nix: Use default Nix headers in devShell 2024-08-24 19:00:50 -04:00
Zhaofeng Li
7401b14e71 flake.nix: Add WebAssembly tools 2024-08-19 14:49:56 -04:00
Zhaofeng Li
38c42ae9ad Run tests against different Nix versions 2024-08-19 12:21:30 -04:00
Jörg Thalheim
aecca91fad Build with Nix 2.24 in devShell 2024-08-19 12:16:33 -04:00
Winter
657db64e51 Fix build on Nix 2.19+
Nix 2.19 introduced a change [0] that broke how we compile our libnixstore
bindings, which requires adding an additional include directory when
we compile them.

[0]: b461cac21a
2024-03-29 11:59:20 -06:00
Zhaofeng Li
e6bedf1869 flake.nix: Remove non-existent overrides 2024-01-01 18:34:19 -07:00
Zhaofeng Li
52f956a864
Merge pull request #60 from cole-h/docker-db-migrations-first
docker: default to monolithic mode
2024-01-01 18:28:05 -07:00
Zhaofeng Li
e7a5828192 flake: Update deps 2023-12-18 14:50:33 -07:00
Zhaofeng Li
b12e485ef7 flake.nix: Add riscv64-linux 2023-12-18 14:50:33 -07:00
Graham Christensen
e9918bc6be
Make nix flake show --all-systems work (#91)
Before this patch we get:

  error: don't yet have a `targetPackages.darwin.LibsystemCross for x86_64-apple-darwin`
2023-10-25 20:23:59 +02:00
Cole Helbling
e6a2644125 docker: default to monolithic mode
Otherwise, if you try to use the api-server before db migrations have
happened, you'll get the very helpful (sarcasm) error when running `attic`:

    Error: InternalServerError: The server encountered an internal error or misconfiguration.

With this corresponding error from `atticd`:

    Database error: Query Error: error returned from database: relation "cache" does not exist
2023-06-26 08:53:45 -07:00
Zhaofeng Li
b0fd84299c Update nixpkgs 2023-05-28 15:23:45 -06:00
Zhaofeng Li
171c89fbe0 flake.nix: Add /etc/passwd to attic-server-image
It's now required by the sshd embedded in fly.io's init.
2023-04-12 15:39:38 -06:00
Zhaofeng Li
f658c7e1fe flake.nix: Minimize the closure size of attic-static 2023-03-21 18:45:34 -06:00
Zhaofeng Li
a8a30288fa flake.nix: Add attic-client-static package 2023-03-21 18:45:34 -06:00
Zhaofeng Li
63f64ee8c4 Revert bindgenHook workarounds
Fixed in https://github.com/NixOS/nixpkgs/pull/215060.

This reverts commit 365d739bca.
This reverts commit db443f1932.
This reverts commit 9869ab4a85.
2023-03-21 18:45:34 -06:00
Zhaofeng Li
dbcf98b4e4 flake.nix: Bump dependencies 2023-03-05 11:05:11 -07:00
Zhaofeng Li
a0a29b01cf flake.nix: Revert nixpkgs pin to December 2022
nixos-unstable has been so bumpy this year and it's getting
frustrating :(
2023-02-11 01:16:55 -07:00
Zhaofeng Li
365d739bca flake.nix: Add bindgenHook workaround to devShell 2023-02-06 19:39:10 -07:00
Zhaofeng Li
1ffa429a9b flake.nix: Pin to nixpkgs-unstable for Darwin 2023-02-04 14:06:18 -07:00
Zhaofeng Li
97187894c2 flake.lock: Update 2023-02-04 13:28:47 -07:00
Zhaofeng Li
49bd872153 flake.nix: Also run integration tests on stable nixpkgs 2023-01-16 14:14:14 -07:00
Zhaofeng Li
e7f64d80b7 flake.nix: Add attic-static 2023-01-06 15:56:42 -07:00
Zhaofeng Li
979108869d integration-tests: init 2023-01-06 00:59:38 -07:00
Zhaofeng Li
330f4e4ac7 Add NixOS module
Fixes #1. Still needs documentation though.
2023-01-06 00:59:35 -07:00
Zhaofeng Li
d1e1cf7a61 flake.nix: Add overlay 2023-01-06 00:59:35 -07:00
Zhaofeng Li
c04aff7c48 server: Attach tracing context to errors 2023-01-04 21:05:07 -07:00
Zhaofeng Li
49c7cca94b flake.nix: Add full busybox to Docker image for debugging 2023-01-04 21:05:07 -07:00
Zhaofeng Li
d93a0f587c .github: Naively dogfood Attic 2023-01-02 23:29:09 -07:00
Zhaofeng Li
50e8e482d0 Add installer script for CI environments 2023-01-02 23:29:09 -07:00
Zhaofeng Li
ee693e9585 flake.nix: Add rustc back to devShell 2023-01-02 23:29:09 -07:00
Zhaofeng Li
50e5ecb7f9 Migrate to Crane
The nixpkgs-acceptable package expression is still in `package.nix`.
2023-01-02 23:29:09 -07:00
Zhaofeng Li
b60fac7772 flake.nix: Rename flake-utils input to be more standard 2023-01-02 23:29:09 -07:00
Zhaofeng Li
06332b7cc3 flake.nix: Add /bin/sh to Docker image for fly ssh console 2023-01-01 20:59:02 -07:00
Zhaofeng Li
5aa1623dc2 Initial public commit 2022-12-31 17:01:07 -07:00