graphql-engine/v3/nix
Samir Talwar ef31a4ca84 Abstract over the binaries in flake.nix. (#1012)
### What

Use powerful constructs such as loops to avoid duplication in
`flake.nix`.

We are able to iterate over the list of binaries and list of target
systems and produce a list of packages from there.

### How

We generate a `targets` tree (see the `flake.nix` file comments for
details), and then generate the list of packages from there.

When using `nix run`, you'll get a package, which is usually what you
want.

The scripts that build Docker images run `nix build
'.#targets.x86_64-linux.<binary>.<arch>.docker`, which is verbose but
explicit.

V3_GIT_ORIGIN_REV_ID: 2a13fb31a41829f9804dfdb7c1a51a9e54e0922e
2024-08-26 09:50:15 +00:00
..
app.nix Build dev-auth-webhook Docker image with Nix (#544) 2024-05-02 14:23:28 +00:00
docker.nix Abstract over the binaries in flake.nix. (#1012) 2024-08-26 09:50:15 +00:00
rust.nix basic Nix flake for deps (#333) 2024-03-06 11:39:19 +00:00
version Use "dev" as the version in development for Nix builds. (#665) 2024-06-05 08:20:49 +00:00