nzz-downloader/flake.nix

36 lines
730 B
Nix
Raw Normal View History

2024-06-25 09:56:30 +00:00
{
description = "little-hesinde project";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
fenix.url = "github:nix-community/fenix";
2024-06-25 09:56:30 +00:00
};
outputs =
{
nixpkgs,
flake-utils,
fenix,
...
}:
2024-06-25 09:56:30 +00:00
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
rust = fenix.packages.${system}.stable;
2024-06-25 09:56:30 +00:00
in
{
devShells.default =
with pkgs;
mkShell {
buildInputs = [
geckodriver
rust.toolchain
cargo-deny
rust-analyzer
2024-06-25 09:56:30 +00:00
];
};
}
);
}