Commit c9a8fd04 authored by Alexis Hildebrandt's avatar Alexis Hildebrandt
Browse files

plakar: install manpages

parent eef498af
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  lib,
  buildGo125Module,
  fetchFromGitHub,
  installShellFiles,
  fuse,
}:
buildGo125Module (finalAttrs: {
@@ -22,6 +23,10 @@ buildGo125Module (finalAttrs: {
    fuse
  ];

  nativeBuildInputs = [
    installShellFiles
  ];

  checkFlags =
    let
      skippedTests = [
@@ -35,6 +40,10 @@ buildGo125Module (finalAttrs: {
    in
    [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];

  postInstall = ''
    installManPage $(find $src -regex '.*\.[0-9]$')
  '';

  meta = {
    mainProgram = "plakar";
    description = "Encrypted, queryable backups for engineers based on an immutable data store and portable archives";