Skip to content

Commit 4e4a0ea

Browse files
committed
build(flake/outputs/foundry): Use rustPlatform from nixos-24.05
In the `nixos-unstable` nixpkgs branch, `rustPlatform` was updated to 1.80, which is incompatible [1] with Foundry. Switch `rustPlatform` to the instance from `nixos-24.05`, which is 1.77.0x [1]. [1]: https://github.com/metacraft-labs/nixos-modules/actions/runs/10542536080/job/29209445205?pr=150 [2]: https://github.com/NixOS/nixpkgs/blob/797f7dc49e0bc7fab4b57c021cdf68f595e47841/pkgs/top-level/all-packages.nix#L16497
1 parent fe8825d commit 4e4a0ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@
7979
inherit (pkgs) terraform;
8080
inherit (legacyPackages.inputs.terranix) terranix;
8181
inherit (legacyPackages.inputs.dlang-nix) dcd dscanner serve-d dmd ldc;
82-
inherit (legacyPackages.inputs.ethereum-nix) mev-boost nethermind web3signer foundry nimbus-eth2;
82+
inherit (legacyPackages.inputs.ethereum-nix) mev-boost nethermind web3signer nimbus-eth2;
83+
foundry = legacyPackages.inputs.ethereum-nix.foundry.override {
84+
rustPlatform = pkgs.rustPlatform;
85+
};
8386
};
8487
};
8588
}

0 commit comments

Comments
 (0)