mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 11:06:25 +00:00
Jakub Sokołowski
7260c23e8e
Should resolve errors like this: ``` error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I) ``` Signed-off-by: Jakub Sokołowski <jakub@status.im>
9 lines
436 B
Bash
Executable File
9 lines
436 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# WARNING: Versions 2.14, 2.15, 2.16 have an issue creating gcroots:
|
|
# https://github.com/NixOS/nix/issues/8564
|
|
export NIX_VERSION="2.13.4"
|
|
export NIX_PACKAGE="nixVersions.nix_2_13"
|
|
export NIX_INSTALL_URL="https://nixos.org/releases/nix/nix-${NIX_VERSION}/install"
|
|
export NIX_INSTALL_SHA256="a9908cc48f5886b4f22172bdd2f9657873276fd295e78c6ed97fb308c6d284d0"
|
|
export NIX_INSTALL_PATH="/tmp/nix-install-${NIX_VERSION}"
|