diff --git a/pkgs/by-name/pl/plakar/package.nix b/pkgs/by-name/pl/plakar/package.nix index 8d4cd13755aa..d3a8c7e16d93 100644 --- a/pkgs/by-name/pl/plakar/package.nix +++ b/pkgs/by-name/pl/plakar/package.nix @@ -1,11 +1,12 @@ { stdenv, lib, - buildGoModule, + buildGo125Module, fetchFromGitHub, + installShellFiles, fuse, }: -buildGoModule (finalAttrs: { +buildGo125Module (finalAttrs: { pname = "plakar"; version = "1.0.6"; @@ -22,6 +23,10 @@ buildGoModule (finalAttrs: { fuse ]; + nativeBuildInputs = [ + installShellFiles + ]; + checkFlags = let skippedTests = [ @@ -31,10 +36,15 @@ buildGoModule (finalAttrs: { ++ lib.optionals stdenv.isDarwin [ "TestBTreeScanMemory" "TestBTreeScanPebble" + "TestExecuteCmdServerDefault" ]; 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";