diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-12-30 09:16:19 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-12-31 11:37:53 -0500 |
commit | b2557f76532a4d3804615f9e64cff3bc732b199b (patch) | |
tree | 948e3db918ac0538a657fbef4f78992601a6b462 | |
parent | fab9a5b367008dea29dc5c9d829a07f2b20773ea (diff) | |
download | nixpkgs-b2557f76532a4d3804615f9e64cff3bc732b199b.tar nixpkgs-b2557f76532a4d3804615f9e64cff3bc732b199b.tar.gz nixpkgs-b2557f76532a4d3804615f9e64cff3bc732b199b.tar.bz2 nixpkgs-b2557f76532a4d3804615f9e64cff3bc732b199b.tar.lz nixpkgs-b2557f76532a4d3804615f9e64cff3bc732b199b.tar.xz nixpkgs-b2557f76532a4d3804615f9e64cff3bc732b199b.tar.zst nixpkgs-b2557f76532a4d3804615f9e64cff3bc732b199b.zip |
gmsh: Enable shared library
This allows use of the Python and other bindings.
-rw-r--r-- | pkgs/applications/science/math/gmsh/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/gmsh/default.nix b/pkgs/applications/science/math/gmsh/default.nix index 22eee8b305a..23c1e1dab2a 100644 --- a/pkgs/applications/science/math/gmsh/default.nix +++ b/pkgs/applications/science/math/gmsh/default.nix @@ -20,6 +20,12 @@ stdenv.mkDerivation rec { xorg.libICE ]; + # N.B. the shared object is used by bindings + cmakeFlags = [ + "-DENABLE_BUILD_SHARED=ON" + "-DENABLE_BUILD_DYNAMIC=ON" + ]; + nativeBuildInputs = [ cmake gfortran ]; doCheck = true; |