You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnerrors.New("Could not find nix in your PATH\nInstall nix by following the instructions at https://nixos.org/download.html and make sure you've set up your PATH correctly.")
Copy file name to clipboardExpand all lines: nix/nix.go
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,13 @@ package nix
6
6
import (
7
7
"bytes"
8
8
"encoding/json"
9
-
"errors"
10
9
"fmt"
11
10
"os"
12
11
"os/exec"
13
12
"strings"
14
13
)
15
14
16
15
funcShell(pathstring) error {
17
-
_, err:=exec.LookPath("nix-shell")
18
-
iferr!=nil {
19
-
returnerrors.New("Could not find nix in your PATH\nInstall nix by following the instructions at https://nixos.org/download.html and make sure you've set up your PATH correctly.")
0 commit comments