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

Update flake.nix to reflect checksum on macOS #1775

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

Conversation

execat
Copy link

@execat execat commented Feb 25, 2025

I tried running nix run github:lem-project/lem on NixOS and macOS. On NixOS, this runs fine. However on macOS it shows this error message:

error: hash mismatch in fixed-output derivation '/nix/store/3sy98z0x1s7jnjnrjrx4mzhrhyhqk4px-lem-qlot-bundle-unstable.drv':
         specified: sha256-NtCSBxEo/4uuhlLc9Xqlq+PM1fAbDfRBH64imMLvKYE=
            got:    sha256-BV1m58fUe1zfLH5iKbDP7KTNhv1p+g3W99tFQFYxPqs=
error: 1 dependencies of derivation '/nix/store/y74flmb9scgzz5h75hqqvidb6cicwwff-sbcl-lem-ncurses-unstable.drv' failed to build

This commit fixes that by adding an if condition on checksum.

I tried running `nix run github:lem-project/lem` on NixOS and macOS. On NixOS, this runs fine. However on macOS it shows this error message:

```
error: hash mismatch in fixed-output derivation '/nix/store/3sy98z0x1s7jnjnrjrx4mzhrhyhqk4px-lem-qlot-bundle-unstable.drv':
         specified: sha256-NtCSBxEo/4uuhlLc9Xqlq+PM1fAbDfRBH64imMLvKYE=
            got:    sha256-BV1m58fUe1zfLH5iKbDP7KTNhv1p+g3W99tFQFYxPqs=
error: 1 dependencies of derivation '/nix/store/y74flmb9scgzz5h75hqqvidb6cicwwff-sbcl-lem-ncurses-unstable.drv' failed to build
```

This commit fixes that by adding an `if` condition on checksum.
@execat
Copy link
Author

execat commented Feb 25, 2025

@cxxxr What do you think about this?

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