summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2025-08-26 16:00:09 +0200
committerStefan Kreutz <mail@skreutz.com>2025-08-26 16:00:09 +0200
commit85948e10af3889f803fb00cb42f5be927023c2fe (patch)
tree7c6d48cd945ed0ff20b59648edbc82dfc70bcc29 /flake.nix
parent1d531e72a2fb16f1351dcf82d3630df942d76a06 (diff)
downloadparseq-main.tar
Add experimental Nix flake and .envrc for direnvHEADmain
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix24
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 ];
+ };
+ }
+ );
+}
Generated by cgit. See skreutz.com for my tech blog and contact information.