diff --git a/pkgs/by-name/da/dash/package.nix b/pkgs/by-name/da/dash/package.nix index 6c21d4edeff1..c922ed45d97f 100644 --- a/pkgs/by-name/da/dash/package.nix +++ b/pkgs/by-name/da/dash/package.nix @@ -7,15 +7,19 @@ libedit, runCommand, dash, + + # Reverse dependency smoke tests + tests, + patchRcPathPosix, }: stdenv.mkDerivation (finalAttrs: { pname = "dash"; - version = "0.5.12"; + version = "0.5.13.1"; src = fetchurl { url = "http://gondor.apana.org.au/~herbert/dash/files/dash-${finalAttrs.version}.tar.gz"; - hash = "sha256-akdKxG6LCzKRbExg32lMggWNMpfYs4W3RQgDDKSo8oo="; + hash = "sha256-2ScbzgnBJ9mGbiXAEVgt3HWrmIlYoEvE2FU6O48w43A="; }; strictDeps = true; @@ -43,6 +47,19 @@ stdenv.mkDerivation (finalAttrs: { [ -s $out/success ] grep -q "Hello World" $out/success ''; + + /** + Reverse dependency smoke tests. Build success of `dash.tests` informs + whether an update makes it into staging. + */ + reverseDependencies = lib.recurseIntoAttrs { + writers = lib.recurseIntoAttrs { + simple = tests.writers.simple.dash; + bin = tests.writers.bin.dash; + }; + # Not sure if effective smoke test, but cheap + patch-rc-path-posix = patchRcPathPosix.tests.test-posix; + }; }; };