56 lines
1.0 KiB
Nix
56 lines
1.0 KiB
Nix
{ pkgs, lib, config, inputs, ... }:
|
|
|
|
{
|
|
cachix.enable = false;
|
|
|
|
languages.rust = {
|
|
enable = true;
|
|
};
|
|
|
|
services.postgres.enable = true;
|
|
|
|
packages = with pkgs; [
|
|
pkgs.gcc
|
|
|
|
# Useful for adding migrations, running them and generating offline
|
|
# support metadata
|
|
pkgs.sqlx-cli
|
|
|
|
# Occasionally useful for removing unused dependencies
|
|
# pkgs.cargo-machete
|
|
|
|
# Test coverage. Vaguely useful but not definitive.
|
|
pkgs.cargo-tarpaulin
|
|
|
|
# Snapshot testing
|
|
pkgs.cargo-insta
|
|
|
|
# Release helper
|
|
pkgs.cargo-release
|
|
|
|
# pkgs.grass-sass not compatible, c.f. https://github.com/connorskees/grass/issues/105
|
|
pkgs.dart-sass
|
|
|
|
pkgs.entr
|
|
|
|
pkgs.mdbook
|
|
pkgs.mdbook-toc
|
|
|
|
# Useful for poking at the Postgres database
|
|
pkgs.postgresql
|
|
|
|
# Might be useful as an example OAuth 2 / OIDC client
|
|
pkgs.oauth2c
|
|
|
|
# Useful for generating RSA keypairs
|
|
# also needed for our JWTs
|
|
pkgs.openssl
|
|
pkgs.pkg-config
|
|
];
|
|
|
|
env = {
|
|
};
|
|
|
|
# See full reference at https://devenv.sh/reference/options/
|
|
}
|