Jakub Sokołowski 93cf54919f
nix: add upgrade script for Nix interpreter
Now developers can upgrade to current Nix version using just:
```sh
make nix-upgrade
```
For manual instructions see:
https://nixos.org/manual/nix/stable/installation/upgrading.html

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-19 12:21:00 +02:00

7 lines
324 B
Bash
Executable File

#!/usr/bin/env bash
export NIX_VERSION="2.14.1"
export NIX_PACKAGE="nixVersions.nix_2_14"
export NIX_INSTALL_URL="https://nixos.org/releases/nix/nix-${NIX_VERSION}/install"
export NIX_INSTALL_SHA256="565974057264f0536f600c68d59395927cd73e9fc5a60f33c1906e8f7bc33fcf"
export NIX_INSTALL_PATH="/tmp/nix-install-${NIX_VERSION}"