diff options
Diffstat (limited to 'pkgs/profpatsch/nman/default.nix')
-rw-r--r-- | pkgs/profpatsch/nman/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/profpatsch/nman/default.nix b/pkgs/profpatsch/nman/default.nix index 10e5417f..b9b967cf 100644 --- a/pkgs/profpatsch/nman/default.nix +++ b/pkgs/profpatsch/nman/default.nix @@ -1,12 +1,12 @@ -{ lib, runCommandCC }: +{ lib, runCommandNoCC, go }: -runCommandCC "nman" { +runCommandNoCC "nman" { meta = with lib; { description = "Invoke manpage in temporary nix-shell"; license = licenses.gpl3; }; } '' - cc -o nman ${./nman.c} + ${lib.getBin go}/bin/go build -o nman ${./nman.go} install -D nman $out/bin/nman '' |