File tree 3 files changed +17
-4
lines changed
3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,17 @@ repos:
40
40
- nix-command flakes
41
41
- --accept-flake-config
42
42
- 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"'
43
54
- id : taplo-format
44
55
name : Format TOML (taplo)
45
56
language : system
Original file line number Diff line number Diff line change 109
109
python3Packages . patchVenvShellHook
110
110
python3Packages . autoPatchelfVenvShellHook
111
111
112
+ deadnix
113
+ statix
114
+
112
115
cargo
113
116
rustc
114
117
Original file line number Diff line number Diff line change 1
1
{
2
2
lib ,
3
3
python3 ,
4
- fetchFromGitHub ,
5
4
makeWrapper ,
6
5
e2fsprogs-nofortify ,
7
6
erofs-utils ,
38
37
zstd
39
38
lz4
40
39
] ;
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 ;
43
42
in
44
- python3 . pkgs . buildPythonApplication rec {
43
+ python3 . pkgs . buildPythonApplication {
45
44
pname = "unblob" ;
46
45
pyproject = true ;
47
46
disabled = python3 . pkgs . pythonOlder "3.9" ;
You can’t perform that action at this time.
0 commit comments