-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
openssh: fix linkOpenSSL=false by linking libxcrypt #307464
Conversation
Seeking review from @mweinelt re the introduction of libxcrypt, for when |
I won't speak to the idea of creating |
In hindsight I'm skeptical of introducing
I'll remove this package from the PR, but keep the test, covering |
And I'm skeptical of the value of I'll remove the zlib parameter too. |
a716558
to
71f3507
Compare
Possibly broken during NixOS#181764 Context: https://sourceware.org/legacy-ml/libc-alpha/2017-08/msg01257.html
71f3507
to
03e851e
Compare
PR updated to just fix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good. Built and tested on Linux x86_64 and aarch64, all tests are passing and nixpkgs-review does not show new failures.
Description of changes
Fixes openssh to build when
linkOpenssl=false
. This needed libxcrypt. Possibly this broke after #181764 but wasn't caught by Hydra, since Hydra wasn't building openssh withlinkOpenssl=false
. I've added a test to cover this functionality.For more context on glibc/libxcrypt, see https://sourceware.org/legacy-ml/libc-alpha/2017-08/msg01257.html .
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.