Navigation Menu

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

fix: stack cache generator sha256 is a string not a lambda #1383

Merged

Conversation

Unisay
Copy link
Contributor

@Unisay Unisay commented Feb 23, 2022

Making sha256 attribute a string fixes the following problem with fetchgit:

error: cannot coerce a function to a string

       at /nix/store/6k0ifa8p59k7snfaxiz4sgqqfvad412p-source/pkgs/build-support/fetchgit/default.nix:70:3:

           69|   outputHashMode = "recursive";
           70|   outputHash = if hash != "" then
             |   ^
           71|     hash

(happens only in nixos version is 22.05)

@hamishmack hamishmack merged commit d420709 into input-output-hk:master Feb 24, 2022
@hamishmack
Copy link
Collaborator

Thanks, I messed up inlining the default lookupSha256 function when removing it.

2576a94#diff-d9e64117abcea64fe4acd20c36dffa3f599878f22c7f5efd9dd404abd9afdf89R84

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.

None yet

2 participants