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

Staging next #77739

Merged
merged 94 commits into from Jan 28, 2020
Merged

Staging next #77739

merged 94 commits into from Jan 28, 2020

Conversation

FRidh
Copy link
Member

@FRidh FRidh commented Jan 15, 2020

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

magenbluten and others added 30 commits November 17, 2019 17:20
xdp socket support (AF_XDP) is the new way of implementing high
performance networking on linux. on arch linux and debian this is
already enabled (checked via the links from the nixos manual).

moreover, these flags are suggested by the bpf documentation at cilium:

https://cilium.readthedocs.io/en/latest/bpf/#compiling-the-kernel

additionally the flag `BPF_JIT_ALWAYS_ON` on was suggested to help
spectre attack mitigations:

torvalds/linux@290af86
So users don’t need to override the $out/etc/security files, we need
to manually set this to /etc. Override it in the install phase so that
we still get the example $out/etc/security files .

Fixes #76713
(cherry picked from commit 716b064)
Don't set `src` in override (?!), or name.
linux-pam: set sconfigdir to /etc for usage at runtime
systemd: fix version after update to 243.4 (#76134)
Tested nixos.tests.installed-tests.gdk-pixbuf.x86_64-linux
atop the current nixpkgs master.
- This commit adjust the tests to the ones that are found in the
  tox.ini file for the specified version of the module
- This means we'll have 3 tests in adition to the default one
Building libselinux 2.9 with python 3.8 causes several linker failures[1].
As this breaks several packages on staging and the glibc-230 integration
jobset[2], this should be fine as workaround.

This change can be reverted when updating to libselinux 3.0, ArchLinux
already has `libselinux` 3.0 with python 3.8[3].

[1] https://hydra.nixos.org/build/109960000
[2] https://hydra.nixos.org/eval/1564244
[3] https://aur.archlinux.org/cgit/aur.git/commit/?h=libselinux&id=f717bef8131622ad8545f4bdffe7bafdc35e9808
This enables to compile rls and rustc

See also rust-lang/rust#64823
@FRidh
Copy link
Member Author

FRidh commented Jan 17, 2020

qtwebengine fails on linux https://hydra.nixos.org/build/110587766

@FRidh
Copy link
Member Author

FRidh commented Jan 17, 2020

@LnL7 shared-mime-info fails on darwin https://hydra.nixos.org/build/110652935
edit: looks like it was already broken, just seemed like an "important" package to me

@jtojnar
Copy link
Contributor

jtojnar commented Jan 17, 2020

Yeah, still #74942

This was only introduced in 1.40.0 and doesn't work on older versions.

    thread 'main' panicked at 'Error: no rules matched rustc-dev.', src/bootstrap/builder.rs:231:21
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
    failed to run: /build/rustc-1.38.0-src/build/bootstrap/debug/bootstrap dist rustc-dev
@hedning
Copy link
Contributor

hedning commented Jan 19, 2020

qtwebengine might be a transient failure, I'm was able to build it locally at least.

rustPackages: make rustc-dev optional
@curiousleo
Copy link
Contributor

I'm keen to see this merged. Is there anything I can help with?

@FRidh FRidh merged commit 7562c21 into master Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet