Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to hs-nix-infra for the Nix setup (#1778)
* Expose pact through Nix This commit exposes the pact input of chainweb at the Nix layer: * Allows the pact input to be overriden as a flake input * Exposes the pact package (with the CLI) of the Haskell package set * Minor, fix capitalization * Disable pact build-tool by default * Handle the end of file correctly in inplace awk * Switch to hs-nix-infra for pinning Haskell toolchain * Bump hs-nix-infra * Fix the non-flake default.nix usage * Add a metadata output to chainweb derivation * Implement a recursive-nix version of chainweb drv * Bump hs-nix-infra * Avoid evaluating the hsNix project for flake outs * Tmp avoid all unrelated hsNix stuff * Bump hs-nix-infra * Bump hs-nix-infra * Use hs-nix-infra with special fetcher * Avoid involving haskellNix in recursive path * Remove unnecessary jq input * Remove self references in recursive path * Add flake outputs for testing purposes * Bump hs-nix-infra * Bump hs-nix-infra * Update to revamped recursive build method * Switch back to hs-nix-infra main * Simplify and document the recursive package * Revert back to setup-nix-with-cache v3 The customizable nix-conf features are now in it * Refer to the 3.1 release explicitly * Update copy-root-aws-credentials version in nix.yml * Renove the tmp output used for experimentation * Expose the haskell.nix project as an output * Fix typo * Use wrapRecursiveWithMeta * Expose pact without relying on path caching Trying to expose the `src` of the pact input by caching it as a nix store path proved to be fragile. It's possible to output such paths from recursive-nix derivations, but those paths will be very tricky to access by downstream Nix expressions. This commit instead uses pure metadata to reconstruct the pact src definition at the recursive layer. * Build recursive.allDerivations in CI * Switch back to hs-nix-infra/main * Bump hs-nix-infra
- Loading branch information