Installing audacity

Hi, I’m having trouble installing nixos. I keep getting this error when trying to install:
g++: error: unrecognized command line option '-Xarch_x86_64'; did you mean '-march=x86-64'?

I’m on the nixos-unstable channel.
Thank you in advance. Let me know if you need more information.

Edit: switching to the stable-channel worked.

See https://github.com/NixOS/nixpkgs/issues/94905