todo/flake.nix

29 lines
567 B
Nix
Raw Permalink Normal View History

2025-06-17 13:59:05 +02:00
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, fenix, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
rust-toolchain = fenix.packages.${system}.stable.toolchain;
in {
devShell.${system} = with pkgs; mkShell {
nativeBuildInputs = [
rust-toolchain
cargo-generate
2025-06-20 13:03:55 +02:00
diesel-cli
2025-06-23 13:05:23 +02:00
sqlite
2025-06-17 13:59:05 +02:00
just
2025-06-20 13:03:55 +02:00
lazysql
2025-06-17 13:59:05 +02:00
];
};
};
}