Skip to content

Commit

Permalink
[nix] Pin nix version to 2.17.1 (#1526)
Browse files Browse the repository at this point in the history
## Summary

Due to this bug: NixOS/nix#9052 let's pin nix
version until resolved.

## How was it tested?

In fresh docker ubuntu:

```
devbox setup nix
devbox init
devbox add hello
devbox run hello
```

(cherry picked from commit 462487d)
  • Loading branch information
mikeland73 authored and Lagoja committed Oct 3, 2023
1 parent 6e1e0ce commit fdbd72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/nix/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Install(writer io.Writer, daemon *bool) error {
}
defer r.Close()

installScript := "curl -L https://nixos.org/nix/install | sh -s"
installScript := "curl -L https://releases.nixos.org/nix/nix-2.17.1/install | sh -s"
if daemon != nil {
if *daemon {
installScript += " -- --daemon"
Expand Down

0 comments on commit fdbd72f

Please sign in to comment.