diff options
author | Stefan Kreutz <mail@skreutz.com> | 2025-08-26 16:00:09 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2025-08-26 16:00:09 +0200 |
commit | 85948e10af3889f803fb00cb42f5be927023c2fe (patch) | |
tree | 7c6d48cd945ed0ff20b59648edbc82dfc70bcc29 /flake.nix | |
parent | 1d531e72a2fb16f1351dcf82d3630df942d76a06 (diff) | |
download | parseq-main.tar |
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..fd143ba --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + description = "Parallel sequential iterator for Rust"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils, ... }@inputs: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + config = { }; + overlays = [ ]; + }; + in { + # nix develop + devShells.default = pkgs.mkShell { + nativeBuildInputs = with pkgs; [ rustc cargo rustfmt clippy cargo-audit cargo-edit ]; + }; + } + ); +} |