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
libseccomp: only on Linux #38280
libseccomp: only on Linux #38280
Conversation
Affected: |
Many others mention libseccomp, but they all seem to be conditional on It is possible that more places should do the same detection that the nix derivation does, so that they can exclude RISC-V. |
It is possible that |
The racket with libiconv override (in racket2nix) is not available in hydra. We don't really need the override unless we build racket-doc. Solution: Supply an up-to-date racket-minimal from the latest nixpkgs. This lowers test build time from ~30 minutes to ~20 minutes. We still have the problem that it's building nix-2.0. This is probably related to NixOS/nixpkgs#38280 .
This is only happening if you have 'allowBroken = true;'. Still should be fixed, but for the time being it's an okay fix to just set 'allowBroken = false;'. |
I've been trying to understand how meta.available works, and I've been confused that it's always |
I may have allowBroken because git-annex is marked broken and actually isn't. I will check and make a PR if that is the case. |
It's kind of unintuitive that allowBroken actively breaks things, but I can see why. :-) |
Hm, no, I have not set allowBroken. git-annex seems to have been fixed at some point. |
You can detect allowBroken with:
If not, try running this: (it should give you false)
|
Ok, so that's not trivial. Working, broken and unapplicable seem like a minimum of states a package could be in. Unfree seems like an axis on its own. Ugh, I was looking in the wrong window. I do indeed have So, even if a better grand solution is needed, isn't nix a core enough use case that this special case should be fixed? |
Enable libseccomp only on Linux, make it null on other platforms, as
it was before the previous change.
Motivation for this change
nixUnstable is broken on Darwin, because libseccomp was accidentally
enabled in commit 26e8d58 (merged in commit cd7047c).
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)