diff --git a/pkgs/by-name/ma/mathemagix/package.nix b/pkgs/by-name/ma/mathemagix/package.nix index f9c53759dfb7e..647f42a072c0e 100644 --- a/pkgs/by-name/ma/mathemagix/package.nix +++ b/pkgs/by-name/ma/mathemagix/package.nix @@ -8,6 +8,18 @@ libtool, gmp, mpfr, + enableAlgebramix ? true, + enableAutomagix ? true, + enableBasix ? true, + enableMmcompileregg ? true, + enableMmcompiler ? true, + enableMmdoc ? true, + enableNumerix ? true, + enableAnalyziz ? true, + enableGraphix ? true, + enableSymbolix ? true, + enableMmxlight ? true, + enableCaas ? true, }: stdenv.mkDerivation (finalAttrs: { @@ -22,6 +34,21 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; + configureFlags = [ + (lib.enableFeature enableAlgebramix "algebramix") + (lib.enableFeature enableAutomagix "automagix") + (lib.enableFeature enableAnalyziz "analyziz") + (lib.enableFeature enableBasix "basix") + (lib.enableFeature enableCaas "caas") + (lib.enableFeature enableGraphix "graphix") + (lib.enableFeature enableMmcompileregg "mmcompileregg") + (lib.enableFeature enableMmcompiler "mmcompiler") + (lib.enableFeature enableMmdoc "mmdoc") + (lib.enableFeature enableMmxlight "mmxlight") + (lib.enableFeature enableNumerix "numerix") + (lib.enableFeature enableSymbolix "symbolix") + ]; + buildInputs = [ gmp libtool