tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
age: install manpages
Mario Rodas
4 years ago
78c60fba
71360607
+8
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
age
default.nix
+8
-2
pkgs/tools/security/age/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
2
2
3
3
buildGoModule rec {
4
4
pname = "age";
···
13
13
};
14
14
15
15
ldflags = [
16
16
-
"-X main.Version=${version}"
16
16
+
"-s" "-w" "-X main.Version=${version}"
17
17
];
18
18
+
19
19
+
nativeBuildInputs = [ installShellFiles ];
20
20
+
21
21
+
preInstall = ''
22
22
+
installManPage doc/*.1
23
23
+
'';
18
24
19
25
doInstallCheck = true;
20
26
installCheckPhase = ''