Update nix (#103)

* Update nix

* Update ci
This commit is contained in:
Ana Hobden 2022-12-09 08:17:45 -08:00 committed by GitHub
parent ef884a348a
commit c2a4f3cbc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 14 deletions

View file

@ -94,11 +94,10 @@ jobs:
run: nix-instantiate -E 'builtins.currentTime' --eval run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure() if: success() || failure()
shell: zsh --login --interactive {0} shell: zsh --login --interactive {0}
## Broken until https://github.com/NixOS/nix/pull/7105 is released due to the version on Ubuntu's runners - name: Test fish
# - name: Test fish run: nix-instantiate -E 'builtins.currentTime' --eval
# run: nix-instantiate -E 'builtins.currentTime' --eval if: success() || failure()
# if: success() || failure() shell: fish --login {0}
# shell: fish --login {0}
- name: Repeated uninstall - name: Repeated uninstall
run: sudo GITHUB_PATH=$GITHUB_PATH RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic uninstall --no-confirm run: sudo GITHUB_PATH=$GITHUB_PATH RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic uninstall --no-confirm
@ -142,11 +141,10 @@ jobs:
run: nix-instantiate -E 'builtins.currentTime' --eval run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure() if: success() || failure()
shell: zsh --login --interactive {0} shell: zsh --login --interactive {0}
## Broken until https://github.com/NixOS/nix/pull/7105 is released due to the version on Ubuntu's runners - name: Test fish
# - name: Test fish run: nix-instantiate -E 'builtins.currentTime' --eval
# run: nix-instantiate -E 'builtins.currentTime' --eval if: success() || failure()
# if: success() || failure() shell: fish --login {0}
# shell: fish --login {0}
- name: Repeated uninstall - name: Repeated uninstall
run: sudo GITHUB_PATH=$GITHUB_PATH PATH=$PATH:$HOME/bin RUST_LOG=harmonic=trace RUST_BACKTRACE=full /nix/harmonic uninstall --no-confirm run: sudo GITHUB_PATH=$GITHUB_PATH PATH=$PATH:$HOME/bin RUST_LOG=harmonic=trace RUST_BACKTRACE=full /nix/harmonic uninstall --no-confirm

View file

@ -10,16 +10,16 @@ use crate::channel_value::ChannelValue;
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux x86_64 /// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux x86_64
pub const NIX_X64_64_LINUX_URL: &str = pub const NIX_X64_64_LINUX_URL: &str =
"https://releases.nixos.org/nix/nix-2.11.1/nix-2.11.1-x86_64-linux.tar.xz"; "https://releases.nixos.org/nix/nix-2.12.0/nix-2.12.0-x86_64-linux.tar.xz";
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux aarch64 /// Default [`nix_package_url`](CommonSettings::nix_package_url) for Linux aarch64
pub const NIX_AARCH64_LINUX_URL: &str = pub const NIX_AARCH64_LINUX_URL: &str =
"https://releases.nixos.org/nix/nix-2.11.1/nix-2.11.1-aarch64-linux.tar.xz"; "https://releases.nixos.org/nix/nix-2.12.0/nix-2.12.0-aarch64-linux.tar.xz";
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Darwin x86_64 /// Default [`nix_package_url`](CommonSettings::nix_package_url) for Darwin x86_64
pub const NIX_X64_64_DARWIN_URL: &str = pub const NIX_X64_64_DARWIN_URL: &str =
"https://releases.nixos.org/nix/nix-2.11.1/nix-2.11.1-x86_64-darwin.tar.xz"; "https://releases.nixos.org/nix/nix-2.12.0/nix-2.12.0-x86_64-darwin.tar.xz";
/// Default [`nix_package_url`](CommonSettings::nix_package_url) for Darwin aarch64 /// Default [`nix_package_url`](CommonSettings::nix_package_url) for Darwin aarch64
pub const NIX_AARCH64_DARWIN_URL: &str = pub const NIX_AARCH64_DARWIN_URL: &str =
"https://releases.nixos.org/nix/nix-2.11.1/nix-2.11.1-aarch64-darwin.tar.xz"; "https://releases.nixos.org/nix/nix-2.12.0/nix-2.12.0-aarch64-darwin.tar.xz";
/** Common settings used by all [`BuiltinPlanner`](crate::planner::BuiltinPlanner)s /** Common settings used by all [`BuiltinPlanner`](crate::planner::BuiltinPlanner)s