Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update "building with crane" example in README.md #177

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

dvtfl
Copy link

@dvtfl dvtfl commented Nov 5, 2024

Since crane v0.19.0, (ipetkov/crane@6f7504a), the crane.lib no longer exists, but still mentioned in readme.md.

fenix/README.md

Line 466 in fa3610f

craneLib = crane.lib.${system}.overrideToolchain

$ nix eval
warning: input 'crane' has an override for a non-existent input 'flake-utils'
warning: input 'crane' has an override for a non-existent input 'nixpkgs'
error: attribute 'lib' missing
       at /nix/store/bqx681q21lm8ynqbd5r0jc69y03dxgfh-source/flake.nix:22:24:
           21|           let
           22|             craneLib = crane.lib.${system}.overrideToolchain
             |                        ^
           23|               fenix.packages.${system}.minimal.toolchain;

Since crane v0.19.0, the `crane.lib` was replaced by `crane.mkLib pkgs`
and the inputs `flake-utils` and `nixpkgs` were removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant