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

Nixos 24.11 #2

Closed
wants to merge 81 commits into from
Closed

Conversation

Mephist0phel3s
Copy link
Owner

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

fedeinthemix and others added 30 commits December 22, 2024 21:16
(cherry picked from commit 07cdea2)
Signed-off-by: misilelab <[email protected]>
Signed-off-by: Florian Brandes <[email protected]>
(cherry picked from commit e3efe0d)
Signed-off-by: Florian Brandes <[email protected]>
(cherry picked from commit fc4e2d3)
Currently users upgrading from 24.05 to 24.11 may stumble across an
overly-restrictive BaseURL and ServerURL check in headscale[1].

A fix has been merged upstream[2], this is backport, so users can have
it easier upgrading from 24.05 to 24.11 or unstable.

The patch does not apply cleanly on v0.23.0, so putting it here instead.

Supersedes #357969, this will be backported to 24.11 with a tag.

[1]: juanfont/headscale#2210
[2]: juanfont/headscale#2248

(cherry picked from commit f1bdc12)
(cherry picked from commit 99d697b)
(cherry picked from commit 2ce4648)
Change 07cdea2 uncovered a bug in how
we build arpack on darwin with the Accelerate. Disable the Accelerate
framework and use openblas the default nixpkgs blas/lapack
implementation.

(cherry picked from commit 592da03)
use ninja, cmakeBool and remove unneeded install_name_tool usage in
postFixup as the library name is already properly set by the build

(cherry picked from commit 00baa26)
The arpack package included the eigen library and added it to the build
inputs but neglected to enable its use by setting `EIGEN=ON` in the
build flags.  Enable support for eigenvalue-problems solver based on ICB
and eigen and disable parallel checking as the tests fail when run in
parallel.

(cherry picked from commit 89e9ea2)
Copy darwin flags `-ff2c -fno-second-underscore` from workflow to use
Accelerate without segfaulting / failing tests and enable the Accelerate
framework when `useAccel` is true.
https://github.com/opencollab/arpack-ng/blob/804fa3149a0f773064198a8e883bd021832157ca/.github/workflows/jobs.yml#L184-L192

(cherry picked from commit 2f215b7)
(cherry picked from commit 9a2a3c1)
(cherry picked from commit 6c07f97)
(cherry picked from commit b509768)
(cherry picked from commit 0fc603b)
(cherry picked from commit af3ca5f)
rnhmjoj and others added 28 commits January 6, 2025 10:28
The ALSA module was essentially removed in 3eeff54, with the main
motivation of avoiding confusion as to what `sound.enable` really meant.

As that could be achieved with a simple rename, this change brings back
the module in full force under the `hardware.alsa` namespace (with clear
beware signs for the pulse and pipewire folks) and adds a lot of useful
extra features. These include

 - `defaultDevice` to set the default playback and capture devices

 - `cardAliases`,`deviceAliases` to assign meaningful names to sound cards
   and devices (instead of say, `hw:0,1`)

 - `controls` to create virtual volume controls

 - `enableRecorder` to easily configure a loopback device to record
   the computer audio

 - fixes to the udev restore rules

(cherry picked from commit c8a84a0)
(cherry picked from commit 2e7d7a7)
(cherry picked from commit 31bd9d6)
This unbreaks cross-compilation when SDL2 itself can cross-compile, which is currently
blocked by timidity cross.

(cherry picked from commit 3b60aae)
This fixes a regression in the discord web app. The issue was reported in:

    #332540

The regression was introduced in commit 23d4f83 via an upgrade of rust
compiler from 1.77.2 to 1.78.0. The fix is based on a comparison between the
generated firefox build script generated by

    pkgs/applications/networking/browsers/firefox/common.nix

and the firefox build script of archlinux found at:

    https://gitlab.archlinux.org/archlinux/packaging/packages/firefox/-/blob/1376cddc7e29fe049fd4afc15fc3b7da5e5fc99b/PKGBUILD

Enabling "full" link time optimization fixed the regression in the discord web
app. Further compile flags where not ported from the archlinux build script.

(cherry picked from commit 5f0d21d)
Signed-off-by: Ganga Ram <[email protected]>
(cherry picked from commit 927bf0f)
(cherry picked from commit bf94a91)
I thought HOMEPAGE_CACHE_DIR was an upstream env var, and it confused me
a lot. Let's prefix it with NIXPKGS_ to make it clear that it's nixpkgs
specific.

(cherry picked from commit be0fda6)
When the cache is stale, homepage-dashboard serves bad data (UI lacks
styling etc.). This issue happens at least on homepage-dashboard version
upgrades.

Fixes #346016.

(cherry picked from commit 58f12ee)
Fix the regression between NixOS 24.05 and 24.11 where using dhcpcd
(e.g. networking.useDHCP) and systemd-resolved
(services.resolved.enable) result in no "search" entry getting added to
/etc/resolv.conf, and dhcpcd logging the following error:

  $ systemctl status dhcpcd
  [...] dhcpcd[2896]: Failed to set DNS configuration: Interactive authentication required.

Fix it by adding a polkit rule that gives the required permissions to
the 'dhcpcd' user to manipulate resolved. The rule was made by using
polkit logging and allowing each action.id until the above error went
away, and /etc/resolv.conf got the correct search entry.

(cherry picked from commit cc5645c)
@Mephist0phel3s Mephist0phel3s self-assigned this Jan 8, 2025
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.