diff options
author | sternenseemann <sternenseemann@systemli.org> | 2020-08-05 21:36:38 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2020-08-07 21:53:10 +0200 |
commit | ca60f22dca66d302901cf9401c7cf6ba39b35702 (patch) | |
tree | fa2bd6f415dcfbf6cad0d65e75765057b7d09e23 /pkgs/profpatsch/nman | |
parent | feb1706f8ea9f8526aa92c5dad87cb5d04fa11c5 (diff) |
pkgs/profpatsch/nman: use --no-out-link for nix-build
Before, nman had a habit of leaving result* links lying around.
Diffstat (limited to 'pkgs/profpatsch/nman')
-rw-r--r-- | pkgs/profpatsch/nman/nman.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/profpatsch/nman/nman.go b/pkgs/profpatsch/nman/nman.go index e6b6247d..b62479a0 100644 --- a/pkgs/profpatsch/nman/nman.go +++ b/pkgs/profpatsch/nman/nman.go @@ -62,7 +62,7 @@ func buildManOutput(drvAttr string) (string, error) { `with import <nixpkgs> {}; %s.man or %s.doc or %s.out or %s`, drvAttr, drvAttr, drvAttr, drvAttr) - nixBuild := exec.Command("nix-build", "-E", nixExpr) + nixBuild := exec.Command("nix-build", "--no-out-link", "-E", nixExpr) nixBuild.Stderr = os.Stderr pipe, err := nixBuild.StdoutPipe() if err != nil { return "", fmt.Errorf("could not access stdout of nix-build: %s", err) } |