diff options
author | figsoda <figsoda@pm.me> | 2022-12-12 18:00:39 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-12-12 18:08:03 -0500 |
commit | 72bb5fec7484b20aaa4787dbea794ca22f2586ad (patch) | |
tree | 112b1990f8c1691060e9b1cc8c75c9f67c39c92c /pkgs/tools/misc/fd | |
parent | a70a69156cb3241b2020e2c8ce63385a6525fdce (diff) |
fd: skip flaky test, add figsoda as a maintainer
Diffstat (limited to 'pkgs/tools/misc/fd')
-rw-r--r-- | pkgs/tools/misc/fd/default.nix | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/tools/misc/fd/default.nix b/pkgs/tools/misc/fd/default.nix index c15ccc03d2581..18169a7943843 100644 --- a/pkgs/tools/misc/fd/default.nix +++ b/pkgs/tools/misc/fd/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, rustPlatform, installShellFiles }: +{ lib, rustPlatform, fetchFromGitHub, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "fd"; @@ -15,10 +15,17 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles ]; - preFixup = '' + # skip flaky test + checkFlags = [ + "--skip=test_owner_current_group" + ]; + + postInstall = '' installManPage doc/fd.1 - installShellCompletion $releaseDir/build/fd-find-*/out/fd.{bash,fish} + installShellCompletion --cmd fd \ + --bash <($out/bin/fd --gen-completions bash) \ + --fish <($out/bin/fd --gen-completions fish) installShellCompletion --zsh contrib/completion/_fd ''; @@ -31,7 +38,8 @@ rustPlatform.buildRustPackage rec { it provides sensible (opinionated) defaults for 80% of the use cases. ''; homepage = "https://github.com/sharkdp/fd"; + changelog = "https://github.com/sharkdp/fd/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ dywedir globin ma27 zowoq ]; + maintainers = with maintainers; [ dywedir figsoda globin ma27 zowoq ]; }; } |