mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
ef31a4ca84
### 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 |
||
---|---|---|
.. | ||
app.nix | ||
docker.nix | ||
rust.nix | ||
version |