File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,17 @@ repos:
4040 - nix-command flakes
4141 - --accept-flake-config
4242 - fmt
43+ - id : statix
44+ name : Lint Nix (statix)
45+ types : [nix]
46+ pass_filenames : false
47+ language : system
48+ entry : bash -c 'command -v nix && statix fix "$@" || echo "skipping statix"'
49+ - id : deadnix
50+ name : Lint Nix (deadnix)
51+ types : [nix]
52+ language : system
53+ entry : bash -c 'command -v nix && deadnix --edit "$@" || echo "skipping deadnix"'
4354 - id : taplo-format
4455 name : Format TOML (taplo)
4556 language : system
Original file line number Diff line number Diff line change 109109 python3Packages . patchVenvShellHook
110110 python3Packages . autoPatchelfVenvShellHook
111111
112+ deadnix
113+ statix
114+
112115 cargo
113116 rustc
114117
Original file line number Diff line number Diff line change 11{
22 lib ,
33 python3 ,
4- fetchFromGitHub ,
54 makeWrapper ,
65 e2fsprogs-nofortify ,
76 erofs-utils ,
3837 zstd
3938 lz4
4039 ] ;
41- pyproject_toml = ( builtins . fromTOML ( builtins . readFile ./pyproject.toml ) ) ;
42- version = pyproject_toml . project . version ;
40+ pyproject_toml = builtins . fromTOML ( builtins . readFile ./pyproject.toml ) ;
41+ inherit ( pyproject_toml . project ) version ;
4342in
44- python3 . pkgs . buildPythonApplication rec {
43+ python3 . pkgs . buildPythonApplication {
4544 pname = "unblob" ;
4645 pyproject = true ;
4746 disabled = python3 . pkgs . pythonOlder "3.9" ;
You can’t perform that action at this time.
0 commit comments