bomutils: fix build with gcc 11 (#169845)

main
Alexander Bich 2 years ago committed by GitHub
parent bc41b01dd7
commit e92dc71fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pkgs/tools/archivers/bomutils/default.nix

@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
"CXX=${stdenv.cc.targetPrefix}c++"
];
# fix
# src/lsbom.cpp:70:10: error: reference to 'data' is ambiguous
# which refers to std::data from C++17
NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
meta = with lib; {
homepage = "https://github.com/hogliux/bomutils";
description = "Open source tools to create bill-of-materials files used in macOS installers";

Loading…
Cancel
Save