mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-23 08:22:41 +03:00
307 B
307 B
To build a cargo project which depends on the SQLx crate, run the following in a fresh directory:
nix flake init -t github:ipetkov/crane#sqlx
Alternatively, if you have an existing project already, copy and paste the
following flake.nix
:
{{#include ../../examples/sqlx/flake.nix}}