From 6674d1f42002ddbbffaa9d8a63bb2f2dbd0af342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Fri, 21 Oct 2022 11:24:12 +0200 Subject: [PATCH] ncdu: fix cpu impurity --- pkgs/tools/misc/ncdu/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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";