mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #195365 from rhysmdnz/fend-man
fend: install man page
This commit is contained in:
commit
ef107d9b1b
@ -3,6 +3,8 @@
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, darwin
|
||||
, pandoc
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -18,8 +20,18 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-jGPS9x4DKQCXZkaJu9qIEqoxIu+1WraqfqxGFRV5z7A=";
|
||||
|
||||
nativeBuildInputs = [ pandoc installShellFiles ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
|
||||
postBuild = ''
|
||||
patchShebangs --build ./documentation/build.sh
|
||||
./documentation/build.sh
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
installManPage documentation/fend.1
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user