Commit f732cddf authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

tomb: add missing phase hooks

parent 8e4efc7d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -69,11 +69,15 @@ stdenvNoCC.mkDerivation (finalAttrs: {
  '';

  installPhase = ''
    runHook preInstall

    install -Dm755 tomb $out/bin/tomb
    install -Dm644 doc/tomb.1 $out/share/man/man1/tomb.1

    wrapProgram $out/bin/tomb \
      --prefix PATH : $out/bin:${lib.makeBinPath runtimeDependencies}

    runHook postInstall
  '';

  passthru = {