-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
nss: fails to install provided programs, but no error msg on build/nix-shell -p #373725
Comments
You want |
Thanks for the quick response! I searched the package index and found Now that my system has Thanks again! |
Is this a caddy problem? Does caddy actually expect |
I believe it's a caddy problem, but I might be able to reconfig. I've had caddy running on NixOS for a few months with no problem, but just added a new service that is only served over my private VPNs (private IP addresses only). In order to serve those over https, caddy needs to generate self-signed certificates - using
I get another caddy-related issue: |
IMO you don't need the nss stuff and certutil see if skip-install-trust helps relevant: caddyserver/caddy#6729 (comment) |
Yes, thank you. That makes more sense. I've been able to get my service served by caddy to a remote host on that VPN when requesting via I still have @mweinelt - is the documentation for If they should be updated, I can work on a documentation PR to fix them. In any case, thanks for your help! Regards, |
They represent the same thing: nix-repl> nss
«derivation /nix/store/7xanh3xdgiq4339k6gvkv7h1bzw7scqh-nss-3.101.2.drv»
nix-repl> nss.tools
«derivation /nix/store/7xanh3xdgiq4339k6gvkv7h1bzw7scqh-nss-3.101.2.drv»
nix-repl> nssTools
«derivation /nix/store/7xanh3xdgiq4339k6gvkv7h1bzw7scqh-nss-3.101.2.drv»
nix-repl> :b nss
This derivation produced the following outputs:
dev -> /nix/store/sf1ymasnhp377g0kkb9imj9gn7y80bzv-nss-3.101.2-dev
man -> /nix/store/hkzib2n3l9zpywqm51na1gp6cicvpih6-nss-3.101.2-man
out -> /nix/store/00iwr69ba0hrxsg4xqghp87h7kphf5ya-nss-3.101.2
tools -> /nix/store/khswnjidy2cm50rlxnyx1xxzql8818sn-nss-3.101.2-tools
$ ls -la /nix/store/khswnjidy2cm50rlxnyx1xxzql8818sn-nss-3.101.2-tools/bin | grep certutil
.r-xr-xr-x root nixbld 173 KB Wed Dec 31 19:00:01 1969 certutil |
Ah, ok, thanks! That makes sense. I saw in the .nix file that |
|
I'll close this now. Thanks! |
Nixpkgs version
Describe the bug
I'm running Caddy and need to provide certutil for self-signed certificates, but when I add either nss or nss_latest to my packages, the build completes with no errors, but the programs provided by nss are not available. I also tried with
nix-shell -p nss
- completes with no error, but certutil isn't available.Steps to reproduce
The simplest way to reproduce:
I ran
nix-shell -v ...
but it produced much more output than I could reasonably analyze (I can provide that, if needed). I have a couple other servers (running 23.11 & 24.05), all produce the same results.Expected behaviour
I expected to have the programs provided by the package
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
$ nix-shell -p nix-info --run "nix-info -m"
"x86_64-linux"
Linux 6.6.52, NixOS, 24.11 (Vicuna), 24.11.712148.edf04b75c13c
yes
yes
nix-env (Nix) 2.22.1
"nixos-24.11"
/nix/var/nix/profiles/per-user/root/channels/nixos
Notify maintainers
@mweinelt @ajs124
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: