Skip to content

Update flake.nix to reflect checksum on macOS#1775

Merged
cxxxr merged 1 commit intolem-project:mainfrom
execat:patch-1
Feb 27, 2025
Merged

Update flake.nix to reflect checksum on macOS#1775
cxxxr merged 1 commit intolem-project:mainfrom
execat:patch-1

Conversation

@execat
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor Author

execat commented Feb 25, 2025

@cxxxr What do you think about this?

@cxxxr
Copy link
Copy Markdown
Member

cxxxr commented Feb 27, 2025

Sorry for the late reply.
I don't know nix but it's probably good.
Thank you.

@cxxxr cxxxr merged commit 311138d into lem-project:main Feb 27, 2025
@execat
Copy link
Copy Markdown
Contributor Author

execat commented Mar 1, 2025

Thanks!

@execat execat deleted the patch-1 branch March 1, 2025 02:55
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.

2 participants