We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0495eb7 + e26cf06 commit 20eba03Copy full SHA for 20eba03
pkgs/by-name/cy/cyme/package.nix
@@ -3,6 +3,7 @@
3
fetchFromGitHub,
4
rustPlatform,
5
pkg-config,
6
+ installShellFiles,
7
stdenv,
8
darwin,
9
versionCheckHook,
@@ -26,6 +27,7 @@ rustPlatform.buildRustPackage rec {
26
27
nativeBuildInputs =
28
[
29
pkg-config
30
+ installShellFiles
31
]
32
++ lib.optionals stdenv.hostPlatform.isDarwin [
33
darwin.DarwinTools
@@ -39,6 +41,14 @@ rustPlatform.buildRustPackage rec {
39
41
"--skip=test_run"
40
42
];
43
44
+ postInstall = ''
45
+ installManPage doc/cyme.1
46
+ installShellCompletion --cmd cyme \
47
+ --bash doc/cyme.bash \
48
+ --fish doc/cyme.fish \
49
+ --zsh doc/_cyme
50
+ '';
51
+
52
nativeInstallCheckInputs = [
53
versionCheckHook
54
0 commit comments