diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a016630..b10d5b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: - name: Set executable run: chmod +x ./harmonic - name: Initial install - run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic install linux-multi --no-confirm + run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic install linux-multi --extra-conf "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}" --no-confirm - name: Test run run: | . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh @@ -100,7 +100,7 @@ jobs: - name: Initial uninstall run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic uninstall --no-confirm - name: Repeated install - run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic install linux-multi --no-confirm + run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic install linux-multi --extra-conf "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}" --no-confirm - name: Repeated test run run: | . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh @@ -137,7 +137,7 @@ jobs: - name: Set executable run: chmod +x ./harmonic - name: Initial install - run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic install darwin-multi --no-confirm + run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic install darwin-multi --extra-conf "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}" --no-confirm - name: Test run run: | . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh @@ -145,7 +145,7 @@ jobs: - name: Initial uninstall run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic uninstall --no-confirm - name: Repeated install - run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic install darwin-multi --no-confirm + run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic install darwin-multi --extra-conf "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}" --no-confirm - name: Repeated test run run: | . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh diff --git a/src/action/common/place_nix_configuration.rs b/src/action/common/place_nix_configuration.rs index e2240f6..f72c754 100644 --- a/src/action/common/place_nix_configuration.rs +++ b/src/action/common/place_nix_configuration.rs @@ -21,6 +21,7 @@ impl PlaceNixConfiguration { let buf = format!( "\ {extra_conf}\n\ + \n\ build-users-group = {nix_build_group_name}\n\ \n\ experimental-features = nix-command flakes\n\