Update pkgs/development/tools/poac/default.nix

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
This commit is contained in:
Ken Matsui 2022-12-16 20:08:37 -08:00
parent 8e89f701d3
commit d0745d7b3b
No known key found for this signature in database

View File

@ -90,9 +90,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake git cacert ];
buildInputs = [
(if stdenv.isDarwin
then boost179
else (boost179.override { enableShared = false; enableStatic = true; }))
(boost179.override {
enableShared = stdenv.isDarwin;
enableStatic = !stdenv.isDarwin;
})
fmt_8
git2Cpp
glob