File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 3232 default = ( inputs . nixpkgs . lib . composeManyExtensions [
3333 ( import inputs . rust-overlay )
3434 ( f : p : {
35- rustToolchain' = (
36- p . rust-bin . stable . latest
37- ) ;
38- rustPlatform' = p . makeRustPlatform {
39- cargo = f . rustToolchain' ;
40- rustc = f . rustToolchain' ;
41- } ;
42- } )
43- ( f : p : {
44- prefligit = p . rustPlatform' . buildRustPackage rec {
35+ pre-commit' = p . pre-commit ;
36+ pre-commit = ( p . makeRustPlatform ( let
37+ rustToolchain = p . rust-bin . stable . latest . minimal ;
38+ in
39+ {
40+ cargo = rustToolchain ;
41+ rustc = rustToolchain ;
42+ } ) ) . buildRustPackage rec {
4543 pname = "prefligit" ;
4644 version = "0.0.12" ;
4745 src = p . fetchFromGitHub {
6361 '' ;
6462 meta . mainProgram = "pre-commit" ;
6563 } ;
66- # And allow calling it as `pkgs.pre-commit` by default.
67- pre-commit = f . prefligit ;
6864 } )
6965 ] ) ;
7066 } ;
You can’t perform that action at this time.
0 commit comments