Skip to content

Commit

Permalink
Refactor Nix flake to use crane (#7763)
Browse files Browse the repository at this point in the history
This resolves a build issue with nci/dream2nix and git dependencies.
We can keep most of the helix-specific parts of the flake, we just need
to switch from configuring nci to calling craneLib functions.

We also switch to flake-utils from flake-parts:

* Using rust-overlay with flake-parts directly is unergonomic
  (see hercules-ci/flake-parts#83).
* Removing flake-parts reduces the overall dependencies: rust-overlay
  already depends on flake-utils.
  • Loading branch information
the-mikedavis committed Jul 28, 2023
1 parent 8a28f30 commit d6856cf
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 361 deletions.
243 changes: 25 additions & 218 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d6856cf

Please sign in to comment.