nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 18 lines 314 B view raw
1{ 2 lib, 3 installShellFiles, 4 runCommandLocal, 5}: 6 7runCommandLocal "install-shell-files--install-manpage" 8 { 9 nativeBuildInputs = [ installShellFiles ]; 10 meta.platforms = lib.platforms.all; 11 } 12 '' 13 echo foo > foo.1 14 15 installManPage --name bar.1 foo.1 16 17 cmp foo.1 $out/share/man/man1/bar.1 18 ''