Skip to content

Commit

Permalink
fix buildArgs
Browse files Browse the repository at this point in the history
In the documentation we claim this is only passed to `nix build`.
This was not the case so.
  • Loading branch information
Mic92 committed Jan 16, 2021
1 parent a268389 commit d9b091b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func nixBuild(drvs map[string]bool, buildArgs []string) error {
}

func buildUncached(installables []string, buildArgs []string) ([]string, error) {
missingDrvs, err := nixDryBuild(append(installables, buildArgs...))
missingDrvs, err := nixDryBuild(installables)
if err != nil {
return nil, fmt.Errorf("--dry-run failed: %s", err)
}
Expand Down

0 comments on commit d9b091b

Please sign in to comment.