Skip to content

Commit

Permalink
Run nix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ljoss17 committed Aug 6, 2024
1 parent 4517757 commit 3812b96
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions packages/injective/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
cosmosLib,
libwasmvm_2_0_0,
}: {
injective = pkgs.buildGoApplication {
# NOTE: this uses `buildGoApplication` from `gomod2nix`. Which requires that you pre-generate
# the go.mod dependency hashes. Therefore you need to run `nix run .#gen-injective` which is below
pname = "injective";
version = "v1.13.1";
src = injective-src;
goVersion = "1.22";
modules = ./gomod2nix.toml;
doCheck = false;
injective = pkgs.buildGoApplication {
# NOTE: this uses `buildGoApplication` from `gomod2nix`. Which requires that you pre-generate
# the go.mod dependency hashes. Therefore you need to run `nix run .#gen-injective` which is below
pname = "injective";
version = "v1.13.1";
src = injective-src;
goVersion = "1.22";
modules = ./gomod2nix.toml;
doCheck = false;

engine = "cometbft/cometbft";
preFixup = ''
${cosmosLib.wasmdPreFixupPhase libwasmvm_2_0_0 "injectived"}
${cosmosLib.wasmdPreFixupPhase libwasmvm_2_0_0 "client"}
'';
buildInputs = [libwasmvm_2_0_0];
engine = "cometbft/cometbft";
preFixup = ''
${cosmosLib.wasmdPreFixupPhase libwasmvm_2_0_0 "injectived"}
${cosmosLib.wasmdPreFixupPhase libwasmvm_2_0_0 "client"}
'';
buildInputs = [libwasmvm_2_0_0];
};
gen-injective = mkGenerator "gen-injective" injective-src;
}

0 comments on commit 3812b96

Please sign in to comment.