Commit graph

30 commits

Author SHA1 Message Date
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