timeshift: add man output (#460510)
This commit is contained in:
@@ -19,6 +19,10 @@
|
|||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "timeshift";
|
pname = "timeshift";
|
||||||
version = "25.07.7";
|
version = "25.07.7";
|
||||||
|
outputs = [
|
||||||
|
"out"
|
||||||
|
"man"
|
||||||
|
];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxmint";
|
owner = "linuxmint";
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
timeshift-unwrapped: runtimeDeps:
|
timeshift-unwrapped: runtimeDeps:
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
inherit (timeshift-unwrapped) pname version;
|
inherit (timeshift-unwrapped) pname version outputs;
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
@@ -21,8 +21,12 @@ stdenvNoCC.mkDerivation {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
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
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user