bomutils: fix build with gcc 11 (#169845)
This commit is contained in:
parent
bc41b01dd7
commit
e92dc71fee
@ -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…
Reference in New Issue
Block a user