about summary refs log tree commit diff
path: root/pkgs/profpatsch/nman/default.nix
blob: b9b967cfff288cb237910a226362c290f1ad4522 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ lib, runCommandNoCC, go }:

runCommandNoCC "nman" {
  meta = with lib; {
    description = "Invoke manpage in temporary nix-shell";
    license = licenses.gpl3;
  };
} ''
    ${lib.getBin go}/bin/go build -o nman ${./nman.go}
    install -D nman $out/bin/nman
''