Closed hoh closed 3 weeks ago
It's not my problem if you've over-riced you system. Try a git-bisect to nixos-23.11.
I extracted the logic in a shell.nix
file. Interestingly, this works with zen3
and lower, but not with zen4
.
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
(pkgs.libvorbis.overrideAttrs (old: rec {
NIX_CFLAGS_COMPILE = [ "-march=znver4" "-mtune=znver4" ];
}))
];
}
Going to try to bisect based on this...
Going to close this as won't fix. Please provide a patch if you happen to have a fix.
libvorbis fails to build on architecture znver4, and is required by many packages (sddm, vlc, firefox, ...), making a desktop installation impossible.
Steps To Reproduce
Build libvorbis, or any package that depends on it (sddm, vlc, firefox, ...) on NixOS 24.05 with
gcc.arch = "znver4"
.Steps to reproduce the behavior:
Example to reproduce on NixOS 24.05:
Use NixOS 24.05
Create a configuration that uses
gcc.arch = "znver4"
.Build the configuration file:
Build log
Additional context
This worked fine using NixOS 23.11.
Notify maintainers
@ehmry
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.