diff --git a/pkgs/by-name/fl/flamegraph/package.nix b/pkgs/by-name/fl/flamegraph/package.nix index 968c3efa6e82..159e4bb74cce 100644 --- a/pkgs/by-name/fl/flamegraph/package.nix +++ b/pkgs/by-name/fl/flamegraph/package.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { buildInputs = [ perl ]; + strictDeps = true; + installPhase = '' runHook preInstall @@ -31,9 +33,15 @@ stdenv.mkDerivation rec { doCheck = true; + nativeCheckInputs = [ + perl + ]; + checkPhase = '' - patchShebangs ./test.sh + runHook preCheck + patchShebangs --build ./test.sh ./test.sh + runHook postCheck ''; meta = with lib; {