Conversation
|
The reason this is one PR is that some of the versions likely depend on each other, e.g. alsa-ucm-conf on alsa-lib |
2e3bf4c to
34f0640
Compare
|
Discussion in #21751 is relevant, albeit in the case of |
|
I don't know if this problem is a blocker, but this breaks cross-compilation, as can be seen in the logs below. If you're on x86_64 and compiling for aarch64, as in the example below, CC should output aarch64 binaries but CC_FOR_BUILD should output x86_64 binaries. You might have something like Build log for pkgsCross.aarch64-multiplatform.alsa-firmware on x86_64. |
|
I guess you can add |
This is definitely the issue. So much for purity! |
|
Should this target staging? |
|
More than 500 rebuilds so this should target staging |
|
Fixed. |
There was a problem hiding this comment.
tested compiling alsa-utils and pkgsCross.aarch64-multiplatform.alsa-utils but couldn't test running because of (i assume) mismatched system lib versions
./result/bin/speaker-test -t wav -c 6
speaker-test 1.2.6
Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
ALSA lib pcm.c:2576:(snd_pcm_open_conf) Unknown field libs
Playback open error: -22,Invalid argument
|
FWIW you can try the new ALSA for your system while avoiding a whole system recompilation by using Firefox with the old ALSA, that was the main culprit in my case. Firefox does still work, though crashes occasionally when you do this. |
|
the firefox test does test audio so i'll run that https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/firefox.nix |
89e9aea to
f3f5254
Compare
|
Is there some rule that says we need to change |
Shortest answer: No. Long answer: Most of fetchers support And the SRI format is because the new This way, I think we should change to |
|
I do not feel like working on this PR anymore. |
|
In the future I suggest that you don't merge PRs like #154038 that cause merge conflicts with this one and don't offer anything more. |
|
Shall I revert #154038 instead (#154038 (comment))? |
Sure, I rebased @bobby285271 |
|
Ah, just noticed you merged #151649 . Only alsa-firmware here hasn't been updated. I'll close this again. |
|
Maybe also |
Motivation for this change
A bunch of the alsa packages were quite out of date.
Some have had attempted updates before but have been reverted:
In addition, many of the previous patches and customisations have been
removed as they are no longer necessary.
Cross-compilation for alsa-firmware does still work.
Things done
I've tested this on my Acer Chromebook Spin 513 and it works flawlessly.
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes