Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Thomsen committed May 26, 2020
1 parent 57b3f36 commit c5936b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/nix.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"os/exec"
"path"
"path/filepath"
"strings"
"syscall"
"time"
"strings"
)

type Host struct {
Expand Down Expand Up @@ -265,7 +265,7 @@ func (ctx *NixContext) BuildMachines(deploymentPath string, hosts []Host, nixArg

var cmd *exec.Cmd
if buildShell != nil {
shellArgs := strings.Join(append([]string{"nix-build"},args...), " ")
shellArgs := strings.Join(append([]string{"nix-build"}, args...), " ")
cmd = exec.Command("nix-shell", *buildShell, "--run", shellArgs)
} else {
cmd = exec.Command("nix-build", args...)
Expand Down

0 comments on commit c5936b3

Please sign in to comment.