From 8ab0739f08e1aec05feffd32e13b525931ae9886 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Thu, 19 Oct 2023 12:55:58 +0200 Subject: [PATCH] Use Nix installer --- modules/rules_nixpkgs_core/0.10.0/presubmit.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/rules_nixpkgs_core/0.10.0/presubmit.yml b/modules/rules_nixpkgs_core/0.10.0/presubmit.yml index d5bd5cd4465..b602cdebbc8 100644 --- a/modules/rules_nixpkgs_core/0.10.0/presubmit.yml +++ b/modules/rules_nixpkgs_core/0.10.0/presubmit.yml @@ -7,9 +7,7 @@ bcr_test_module: name: "Run test module" platform: ${{ platform }} shell_commands: - - sudo apt update - - sudo apt install --yes nix-setup-systemd - - nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs - - nix-channel --update + - curl -L https://nixos.org/nix/install -o /tmp/install-nix + - sh /tmp/install-nix --daemon test_targets: - "//..."