error with the latest sound module: 'The option `services.pipewire.configPackages' does not exist'
foldfree opened this issue · comments
i updated apple-silicon-support to the last commit 75b06b9
and since, I cannot rebuild the config anymore.
I get the following error:
error: The option `services.pipewire.configPackages' does not exist. Definition values:
- In `/nix/store/c4m86vnp3m4yikxrdnd23x1qvvj3m4j5-apple-silicon-support/apple-silicon-support/apple-silicon-support/modules/sound':
{
_type = "if";
condition = true;
content = [
<derivation asahi-audio-1.6>
...
It's not yet in nixpkgs-unstable. You have to follow the commit set in the flake.
Thanks for the lightning fast reply.
Does that mean it is just a temporary error? I don't know how to use flakes yet.
I don't use the flake either. what I did is use a local nixpkgs checked out at the commit of the flake. It should land in unstable soon I expect. Once it has landed I will switch back to upstream.
Essentially this is what I did:
git clone git@github.com:NixOS/nixpkgs.git
cd nixpkgs
git checkout 94cda73bf2fd675de987db7c3ac81e861b892266
sudo nixos-rebuild -I nixpkgs=$(pwd) --upgrade switch
Yes, this is the right answer. Alternately you can wait a day or so. The (missing) PR causing this issue is in fact in nixpkgs-unstable, but not nixos-unstable: https://nixpk.gs/pr-tracker.html?pr=282377 .
Unfortunately the sound change got fumbled a little by nixpkgs and I needed to ship a very recent nixpkgs commit to fix some other issues, so that came along too.
(NB: you can just do -I nixpkgs=.
, the tools are smart enough to resolve the relative path)
I'm going to leave this open until the commit lands in the main unstable channel. I might be able to modify the module to work around this too.
The new config has hit nixos-unstable so you no longer need to use the local nixpkgs.
I've re-added compatibility with the old way and the new way just in case.