Loading pkgs/by-name/nm/nmh/package.nix +11 −4 Original line number Diff line number Diff line Loading @@ -14,25 +14,25 @@ openssl, readline, runtimeShell, versionCheckHook, }: stdenv.mkDerivation (finalAttrs: { pname = "nmh"; version = "1.7.1"; version = "1.8"; src = fetchFromSavannah { repo = "nmh"; rev = finalAttrs.version; hash = "sha256-sBftXl4hWs4bKw5weHkif1KIJBpheU/RCePx0WXuv9o="; hash = "sha256-ShAdinvBA7guVBhjqTelBRiUzyo5KqHcawlQS9kXtqs="; }; postPatch = '' substituteInPlace config/config.c --replace /bin/cat ${coreutils}/bin/cat substituteInPlace \ sbr/arglist.c \ uip/mhbuildsbr.c \ uip/whatnowsbr.c \ uip/slocal.c \ --replace '"/bin/sh"' '"${runtimeShell}"' --replace-fail '"/bin/sh"' '"${runtimeShell}"' # the "cleanup" pseudo-test makes diagnosing test failures a pain ln -s -f ${stdenv}/bin/true test/cleanup ''; Loading @@ -57,6 +57,13 @@ stdenv.mkDerivation (finalAttrs: { doCheck = true; enableParallelBuilding = true; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgram = "${placeholder "out"}/bin/install-mh"; versionCheckProgramArg = "-version"; meta = { description = "New MH Mail Handling System"; homepage = "https://nmh.nongnu.org/"; Loading Loading
pkgs/by-name/nm/nmh/package.nix +11 −4 Original line number Diff line number Diff line Loading @@ -14,25 +14,25 @@ openssl, readline, runtimeShell, versionCheckHook, }: stdenv.mkDerivation (finalAttrs: { pname = "nmh"; version = "1.7.1"; version = "1.8"; src = fetchFromSavannah { repo = "nmh"; rev = finalAttrs.version; hash = "sha256-sBftXl4hWs4bKw5weHkif1KIJBpheU/RCePx0WXuv9o="; hash = "sha256-ShAdinvBA7guVBhjqTelBRiUzyo5KqHcawlQS9kXtqs="; }; postPatch = '' substituteInPlace config/config.c --replace /bin/cat ${coreutils}/bin/cat substituteInPlace \ sbr/arglist.c \ uip/mhbuildsbr.c \ uip/whatnowsbr.c \ uip/slocal.c \ --replace '"/bin/sh"' '"${runtimeShell}"' --replace-fail '"/bin/sh"' '"${runtimeShell}"' # the "cleanup" pseudo-test makes diagnosing test failures a pain ln -s -f ${stdenv}/bin/true test/cleanup ''; Loading @@ -57,6 +57,13 @@ stdenv.mkDerivation (finalAttrs: { doCheck = true; enableParallelBuilding = true; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgram = "${placeholder "out"}/bin/install-mh"; versionCheckProgramArg = "-version"; meta = { description = "New MH Mail Handling System"; homepage = "https://nmh.nongnu.org/"; Loading