bomutils: fix build with gcc 11 (#169845)

This commit is contained in:
Alexander Bich 2022-04-23 13:28:12 +05:00 committed by GitHub
parent bc41b01dd7
commit e92dc71fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";