nix-community / nix-on-droid

Nix-enabled environment for your Android device. [maintainers=@t184256,@Gerschtli]
https://nix-on-droid.unboiled.info
MIT License
1.23k stars 66 forks source link

CI fails, Travis Nix (2.0.4) is too old #67

Closed t184256 closed 4 years ago

t184256 commented 4 years ago

@Gerschtli, could you please take a look?

$ nix-env --version
nix-env (Nix) 2.0.4
$ nix-instantiate --eval -E 'with import <nixpkgs> {}; lib.version or lib.nixpkgsVersion'
error: evaluation aborted with the following error message: '
This version of Nixpkgs requires Nix >= 2.2, please upgrade:
- If you are running NixOS, `nixos-rebuild' can be used to upgrade your system.

(https://travis-ci.org/github/t184256/nix-on-droid/builds/697755958)

Gerschtli commented 4 years ago

You could try adding nix upgrade-nix in the before_install section of .travis.yml..

t184256 commented 4 years ago

That fixed it, thanks a lot!

abathur commented 4 years ago

Just wanted to let you know that Nix support is working on Travis again, and the default version is updated to 2.3.6, as of about an hour ago.