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

rust-overlay: Fix missing libz.so.1 #227

Merged
merged 1 commit into from
Jul 2, 2020
Merged

rust-overlay: Fix missing libz.so.1 #227

merged 1 commit into from
Jul 2, 2020

Conversation

bkchr
Copy link
Contributor

@bkchr bkchr commented Jul 1, 2020

Fixes: #225

Copy link
Collaborator

@nbp nbp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this issue! One more detail before this can be merged.

rust-overlay.nix Outdated
# Handle executables
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${super.lib.makeLibraryPath [ super.pkgs.zlib ]}:$out/lib" \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Replace super.pkgs.zlib by self.zlib. super.pkgs might alias self but this is not the recommended way to deal with packages dependencies in overlays.

@bkchr
Copy link
Contributor Author

bkchr commented Jul 1, 2020

@nbp done

Copy link
Collaborator

@nbp nbp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

Today's nightly fails with cannot find libz.so.1
3 participants