Unverified Commit 20384a7f authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

timeshift: add man output

parent 9967182c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -19,6 +19,10 @@
stdenv.mkDerivation (finalAttrs: {
  pname = "timeshift";
  version = "25.07.7";
  outputs = [
    "out"
    "man"
  ];

  src = fetchFromGitHub {
    owner = "linuxmint";
+7 −3
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@

timeshift-unwrapped: runtimeDeps:
stdenvNoCC.mkDerivation {
  inherit (timeshift-unwrapped) pname version;
  inherit (timeshift-unwrapped) pname version outputs;

  dontUnpack = true;

@@ -21,8 +21,12 @@ stdenvNoCC.mkDerivation {

  installPhase = ''
    runHook preInstall
    mkdir -p "$out"
    lndir "${timeshift-unwrapped}" "$out"
  ''
  + lib.concatMapStrings (outputName: ''
    mkdir -p "''$${outputName}"
    lndir -silent "${timeshift-unwrapped.${outputName}}" "''$${outputName}"
  '') timeshift-unwrapped.outputs
  + ''
    runHook postInstall
  '';