about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/profpatsch/nman/nman.go2
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) }