Files
nixpkgs/pkgs/by-name/in/installShellFiles/tests/install-manpage-named.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
314 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
installShellFiles,
runCommandLocal,
}:
runCommandLocal "install-shell-files--install-manpage"
{
nativeBuildInputs = [ installShellFiles ];
meta.platforms = lib.platforms.all;
}
''
echo foo > foo.1
installManPage --name bar.1 foo.1
cmp foo.1 $out/share/man/man1/bar.1
''