blob: 10e5417f839307e1f2c2be12f4c7936ce0f55bbb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ lib, runCommandCC }:
runCommandCC "nman" {
meta = with lib; {
description = "Invoke manpage in temporary nix-shell";
license = licenses.gpl3;
};
} ''
cc -o nman ${./nman.c}
install -D nman $out/bin/nman
''
|