freshen up README
This commit is contained in:
parent
20dc92e361
commit
8d6d5e9496
17
README.md
17
README.md
@ -51,18 +51,18 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
|
||||||
# Nix Flakes doesn't work on shallow clones
|
|
||||||
fetch-depth: 0
|
|
||||||
- uses: cachix/install-nix-action@v12
|
- uses: cachix/install-nix-action@v12
|
||||||
with:
|
with:
|
||||||
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20201221_9fab14a/install
|
install_url: https://nixos-nix-install-tests.cachix.org/serve/lb41az54kzk6j12p81br4bczary7m145/install
|
||||||
|
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
- run: nix-build
|
- run: nix-build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To install Nix from any commit, go to [the corresponding installer_test action](https://github.com/NixOS/nix/runs/2219534360) and click on "Run cachix/install-nix-action@XX" step and expand the first line.
|
||||||
|
|
||||||
## Inputs (specify using `with:`)
|
## Inputs (specify using `with:`)
|
||||||
|
|
||||||
- `install_url`: specify URL to install Nix from (useful for testing non-stable releases or pinning Nix for example https://releases.nixos.org/nix/nix-2.3.7/install)
|
- `install_url`: specify URL to install Nix from (useful for testing non-stable releases or pinning Nix for example https://releases.nixos.org/nix/nix-2.3.7/install)
|
||||||
@ -75,10 +75,6 @@ jobs:
|
|||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
### Is it possible to run NixOS tests / Qemu+KVM with GitHub Actions?
|
|
||||||
|
|
||||||
[Currently GitHub Actions are not running on Azure instance types that support nested virtualization](https://github.com/actions/virtual-environments/issues/183#issuecomment-610723516).
|
|
||||||
|
|
||||||
### How do I print nixpkgs version I have configured?
|
### How do I print nixpkgs version I have configured?
|
||||||
|
|
||||||
|
|
||||||
@ -94,7 +90,8 @@ With the following inputs:
|
|||||||
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
|
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that there's no hardware acceleration on GitHub Actions.
|
|
||||||
|
[Note that there's no hardware acceleration on GitHub Actions.](https://github.com/actions/virtual-environments/issues/183#issuecomment-610723516).
|
||||||
|
|
||||||
### How can I install packages via nix-env from the specified `nix_path`?
|
### How can I install packages via nix-env from the specified `nix_path`?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user