fix: use nix profile add instead of install

This commit is contained in:
David Chocholatý 2025-08-25 19:20:20 +02:00 committed by Defelo
commit c5762044eb
No known key found for this signature in database
GPG key ID: 2A05272471204DD3

View file

@ -153,7 +153,7 @@ jobs:
elif [[ ${{ inputs.push-to-cache && vars.CACHIX_CACHE != '' }} = true ]]; then
pkgs+=(cachix)
fi
nix profile install -f packages.nix ${pkgs[@]}
nix profile add -f packages.nix ${pkgs[@]}
- name: clone nixpkgs
uses: actions/checkout@v4