mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
50c82704a8
It was fixed in [1] which is part of 5.9.2, 5.10.0.
[1] 3ac051c454 (diff-b820e0828543b1da522ff0ab3dac6c75)
15 lines
482 B
Nix
15 lines
482 B
Nix
{ stdenv, qtModule, qtbase, qtmultimedia }:
|
|
|
|
qtModule {
|
|
name = "qtlocation";
|
|
qtInputs = [ qtbase qtmultimedia ];
|
|
outputs = [ "bin" "out" "dev" ];
|
|
qmakeFlags = stdenv.lib.optional stdenv.isDarwin [
|
|
# boost uses std::auto_ptr which has been disabled in clang with libcxx
|
|
# This flag re-enables this feature
|
|
# https://libcxx.llvm.org/docs/UsingLibcxx.html#c-17-specific-configuration-macros
|
|
"QMAKE_CXXFLAGS+=-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR"
|
|
];
|
|
|
|
}
|