Skip to content

Commit 92a519a

Browse files
authored
[nix] nix install without using daemon flag DEV-1266 (#368)
## Summary Previously we were using `--daemon` to force multi-user on all platforms. This doesn't work on WSL, so omit the flag. This means on macOS it will use multi-user and on linux it will install as single user. ## How was it tested? Untested, but this is what it used to be and was tested previously.
1 parent d7a7c30 commit 92a519a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/nix/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func Install() error {
2525
defer r.Close()
2626
defer w.Close()
2727

28-
cmd := exec.Command("sh", "-c", installScript, "--", "--daemon")
28+
cmd := exec.Command("sh", "-c", installScript)
2929
// Attach stdout but no stdin. This makes the command run in non-TTY mode
3030
// which skips the interactive prompts.
3131
// We could attach stderr? but the stdout prompt is pretty useful.

0 commit comments

Comments
 (0)