16 lines
405 B
Nix
16 lines
405 B
Nix
|
{
|
||
|
description = "Rust tools for pre-commit";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||
|
utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, utils }:
|
||
|
utils.lib.eachDefaultSystem (system:
|
||
|
let pkgs = import nixpkgs { inherit system; };
|
||
|
in {
|
||
|
devShell = pkgs.mkShell { buildInputs = with pkgs; [ pre-commit ]; };
|
||
|
});
|
||
|
}
|