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
-
{ lib, buildGoModule, fetchFromGitHub }:
2
3
buildGoModule rec {
4
pname = "age";
···
13
};
14
15
ldflags = [
16
-
"-X main.Version=${version}"
17
];
0
0
0
0
0
0
18
19
doInstallCheck = true;
20
installCheckPhase = ''
···
1
+
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
2
3
buildGoModule rec {
4
pname = "age";
···
13
};
14
15
ldflags = [
16
+
"-s" "-w" "-X main.Version=${version}"
17
];
18
+
19
+
nativeBuildInputs = [ installShellFiles ];
20
+
21
+
preInstall = ''
22
+
installManPage doc/*.1
23
+
'';
24
25
doInstallCheck = true;
26
installCheckPhase = ''