about summary refs log tree commit diff
path: root/pkgs/profpatsch
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2020-08-05 21:36:38 +0200
committerProfpatsch <mail@profpatsch.de>2020-08-07 21:53:10 +0200
commitca60f22dca66d302901cf9401c7cf6ba39b35702 (patch)
treefa2bd6f415dcfbf6cad0d65e75765057b7d09e23 /pkgs/profpatsch
parentfeb1706f8ea9f8526aa92c5dad87cb5d04fa11c5 (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')
-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) }