File tree Expand file tree Collapse file tree 11 files changed +13
-37
lines changed
Expand file tree Collapse file tree 11 files changed +13
-37
lines changed Original file line number Diff line number Diff line change @@ -102,5 +102,5 @@ jobs:
102102 extra_nix_config : |
103103 access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
104104 if : steps.changed-files.outputs.any_changed == 'true'
105- - run : nix-shell -I nixpkgs=./nix -p nixfmt --run "make lint-nix"
105+ - run : nix-shell -I nixpkgs=./nix -p nixfmt-rfc-style --run "make lint-nix"
106106 if : steps.changed-files.outputs.any_changed == 'true'
Original file line number Diff line number Diff line change 6262 buildInputs = [
6363 defaultPackage . go
6464 pkgs . gomod2nix
65+ pkgs . nixfmt-rfc-style
6566 ] ;
6667 } ;
6768 rocksdb = pkgs . mkShell {
7071 pkgs . rocksdb . tools
7172 ] ;
7273 } ;
73- full = pkgs . mkShell {
74- buildInputs = rocksdb . buildInputs ++ [
75- pkgs . test-env
76- ] ;
77- } ;
74+ full = pkgs . mkShell { buildInputs = rocksdb . buildInputs ++ [ pkgs . test-env ] ; } ;
7875 } ;
7976 legacyPackages = pkgs ;
8077 }
Original file line number Diff line number Diff line change 55 cronosd = ( pkgs . callPackage ../../. { } ) ;
66in
77cronosd . overrideAttrs ( oldAttrs : {
8- patches = oldAttrs . patches or [ ] ++ [
9- ./broken-cronosd.patch
10- ] ;
8+ patches = oldAttrs . patches or [ ] ++ [ ./broken-cronosd.patch ] ;
119} )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pkgs.mkShell {
2121 ( renameExe pkgs . solc-static-versions . solc_0_6_8 "solc-0.6.8" "solc06" )
2222 ( renameExe pkgs . solc-static-versions . solc_0_8_21 "solc-0.8.21" "solc08" )
2323 pkgs . test-env
24- pkgs . nixfmt
24+ pkgs . nixfmt-rfc-style
2525 pkgs . rocksdb
2626 pkgs . chain-maind
2727 pkgs . hermes
Original file line number Diff line number Diff line change 1- {
2- buildGoModule ,
3- fetchFromGitHub ,
4- } :
1+ { buildGoModule , fetchFromGitHub } :
52
63let
74 version = "1.5.0" ;
Original file line number Diff line number Diff line change @@ -48,9 +48,7 @@ builtins.listToAttrs (
4848 ) ;
4949 value =
5050 let
51- cronosd = callPackage ../. {
52- inherit rev network ;
53- } ;
51+ cronosd = callPackage ../. { inherit rev network ; } ;
5452 bundle = if stdenv . hostPlatform . isWindows then bundle-win-exe cronosd else bundle-exe cronosd ;
5553 in
5654 if pkgtype == "bundle" then
Original file line number Diff line number Diff line change 1010 dapptools-patched = self . srcOnly {
1111 name = "dapptools-patched" ;
1212 src = dapptools-master ;
13- patches = [
14- ./dapptools.patch
15- ] ;
13+ patches = [ ./dapptools.patch ] ;
1614 } ;
1715in
1816{
Original file line number Diff line number Diff line change @@ -63,9 +63,7 @@ import sources.nixpkgs {
6363 hermes = pkgs . callPackage ./hermes.nix { src = sources . ibc-rs ; } ;
6464 } )
6565 ( _ : pkgs : { test-env = pkgs . callPackage ./testenv.nix { } ; } )
66- ( _ : pkgs : {
67- cosmovisor = pkgs . callPackage ./cosmovisor.nix { } ;
68- } )
66+ ( _ : pkgs : { cosmovisor = pkgs . callPackage ./cosmovisor.nix { } ; } )
6967 ( _ : pkgs : {
7068 rly = pkgs . buildGo121Module rec {
7169 name = "rly" ;
Original file line number Diff line number Diff line change @@ -52,11 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
5252 "tools"
5353 ] ;
5454
55- env . NIX_CFLAGS_COMPILE = toString (
56- lib . optionals stdenv . cc . isClang [
57- "-faligned-allocation"
58- ]
59- ) ;
55+ env . NIX_CFLAGS_COMPILE = toString ( lib . optionals stdenv . cc . isClang [ "-faligned-allocation" ] ) ;
6056
6157 cmakeFlags = [
6258 "-DPORTABLE=1"
Original file line number Diff line number Diff line change 66} :
77let
88 patched-cronosd = cronos-matrix . cronosd . overrideAttrs ( oldAttrs : {
9- patches = oldAttrs . patches or [ ] ++ [
10- ./testground-cronosd.patch
11- ] ;
9+ patches = oldAttrs . patches or [ ] ++ [ ./testground-cronosd.patch ] ;
1210 } ) ;
1311in
1412let
@@ -36,8 +34,6 @@ dockerTools.buildLayeredImage {
3634 30000
3735 ] ;
3836 Cmd = [ "/bin/stateless-testcase" ] ;
39- Env = [
40- "PYTHONUNBUFFERED=1"
41- ] ;
37+ Env = [ "PYTHONUNBUFFERED=1" ] ;
4238 } ;
4339}
You can’t perform that action at this time.
0 commit comments