diff --git a/pkgs/tools/misc/ncdu/default.nix b/pkgs/tools/misc/ncdu/default.nix index 0cfb78bcf0bc..4844e81079a6 100644 --- a/pkgs/tools/misc/ncdu/default.nix +++ b/pkgs/tools/misc/ncdu/default.nix @@ -19,6 +19,9 @@ stdenv.mkDerivation rec { PREFIX = placeholder "out"; + # Avoid CPU feature impurity, see https://github.com/NixOS/nixpkgs/issues/169461 + ZIG_FLAGS = "-Drelease-safe -Dcpu=baseline"; + meta = with lib; { description = "Disk usage analyzer with an ncurses interface"; homepage = "https://dev.yorhel.nl/ncdu";