Loading pkgs/by-name/mk/mkp224o/package.nix +10 −3 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ fetchFromGitHub, autoreconfHook, libsodium, pcre2, regexSupport ? false, batchSize ? 2048, }: stdenv.mkDerivation rec { Loading Loading @@ -53,10 +56,14 @@ stdenv.mkDerivation rec { '' install -D ${ stdenv.mkDerivation { name = "mkp224o-${suffix}-${version}"; inherit version src configureFlags; pname = "mkp224o-${suffix}"; inherit version src; configureFlags = configureFlags ++ [ "--enable-batchnum=${builtins.toString batchSize}" ] ++ lib.optionals regexSupport [ "--enable-regex=yes" ]; nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ libsodium ]; buildInputs = [ libsodium ] ++ lib.optionals regexSupport [ pcre2 ]; installPhase = "install -D mkp224o $out"; } } $out/bin/mkp224o-${suffix} Loading Loading
pkgs/by-name/mk/mkp224o/package.nix +10 −3 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ fetchFromGitHub, autoreconfHook, libsodium, pcre2, regexSupport ? false, batchSize ? 2048, }: stdenv.mkDerivation rec { Loading Loading @@ -53,10 +56,14 @@ stdenv.mkDerivation rec { '' install -D ${ stdenv.mkDerivation { name = "mkp224o-${suffix}-${version}"; inherit version src configureFlags; pname = "mkp224o-${suffix}"; inherit version src; configureFlags = configureFlags ++ [ "--enable-batchnum=${builtins.toString batchSize}" ] ++ lib.optionals regexSupport [ "--enable-regex=yes" ]; nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ libsodium ]; buildInputs = [ libsodium ] ++ lib.optionals regexSupport [ pcre2 ]; installPhase = "install -D mkp224o $out"; } } $out/bin/mkp224o-${suffix} Loading