diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/graphics/plotutils/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/graphics/plotutils/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/graphics/plotutils/default.nix b/nixpkgs/pkgs/tools/graphics/plotutils/default.nix index 57cfe988b0b7..29b4c4b35fe9 100644 --- a/nixpkgs/pkgs/tools/graphics/plotutils/default.nix +++ b/nixpkgs/pkgs/tools/graphics/plotutils/default.nix @@ -16,7 +16,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ libpng ]; - patches = map fetchurl (import ./debian-patches.nix); + patches = map fetchurl (import ./debian-patches.nix) + # `pic2plot/gram.cc` uses the register storage class specifier, which is not supported in C++17. + # This prevents clang 16 from building plotutils because it defaults to C++17. + ++ [ ./c++17-register-usage-fix.patch ]; preBuild = '' # Fix parallel building. |