We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If your action uses extra_nix_config, like so:
extra_nix_config
- uses: cachix/install-nix-action@v14 with: install_url: https://nixos-nix-install-tests.cachix.org/serve/ipa0c64h689jb4ys6hxsky2r8xpld0hv/install install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' extra_nix_config: experimental-features = nix-command flakes
It will only work in a daemon install. For the single-user mode, such as when using ACT, the config ends up empty.
To reproduce, create this demo.yml:
demo.yml
name: Demo on: [ pull_request ] jobs: demo: runs-on: ubuntu-latest steps: - uses: cachix/install-nix-action@v14 with: install_url: https://nixos-nix-install-tests.cachix.org/serve/ipa0c64h689jb4ys6hxsky2r8xpld0hv/install install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' extra_nix_config: experimental-features = nix-command flakes - run: cat /etc/nix/nix.conf - uses: cachix/cachix-action@v10 with: name: nix-config signingKey: ${{ secrets.CACHIX_SIGNING_KEY }} - run: cat /etc/nix/nix.conf - run: nix build nixpkgs#hello
and run nix-shell -p act --run "act -W demo.yml -j demo"
nix-shell -p act --run "act -W demo.yml -j demo"
The text was updated successfully, but these errors were encountered:
cc @SuperSandro2000
Sorry, something went wrong.
Thanks for the reproducer. I try to take a closer look in the coming days.
fix #97: install nix config correctly for single-user- mode
c664ef3
Merge pull request #109 from cachix/fix-97
b93cdea
Successfully merging a pull request may close this issue.
If your action uses
extra_nix_config
, like so:It will only work in a daemon install. For the single-user mode, such as when using ACT, the config ends up empty.
To reproduce, create this
demo.yml
:and run
nix-shell -p act --run "act -W demo.yml -j demo"
The text was updated successfully, but these errors were encountered: