Skip to content

Commit

Permalink
build(flake/outputs/foundry): Use rustPlatform from nixos-24.05
Browse files Browse the repository at this point in the history
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
  • Loading branch information
PetarKirov committed Aug 25, 2024
1 parent 2d93841 commit a274586
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@
inherit (pkgs) terraform;
inherit (legacyPackages.inputs.terranix) terranix;
inherit (legacyPackages.inputs.dlang-nix) dcd dscanner serve-d dmd ldc;
inherit (legacyPackages.inputs.ethereum-nix) mev-boost nethermind web3signer foundry nimbus-eth2;
inherit (legacyPackages.inputs.ethereum-nix) mev-boost nethermind web3signer nimbus-eth2;
foundry = legacyPackages.inputs.ethereum-nix.foundry.override {
rustPlatform = pkgs.rustPlatform;
};
};
};
}

0 comments on commit a274586

Please sign in to comment.