summaryrefslogtreecommitdiff
path: root/flake.nix
blob: fd143ba86b7d54a52371d5ca25ed313600861548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.