mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 00:20:53 +00:00
README: Small cleanup
This commit is contained in:
parent
e0cb57136a
commit
87d70237f9
1 changed files with 7 additions and 5 deletions
|
@ -78,7 +78,10 @@ To install Nix from any commit, go to [the corresponding installer_test action](
|
||||||
### How do I print nixpkgs version I have configured?
|
### How do I print nixpkgs version I have configured?
|
||||||
|
|
||||||
|
|
||||||
```nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'```
|
```yaml
|
||||||
|
- name: Print nixpkgs version
|
||||||
|
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
||||||
|
```
|
||||||
|
|
||||||
### How can I run NixOS tests?
|
### How can I run NixOS tests?
|
||||||
|
|
||||||
|
@ -90,7 +93,6 @@ 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.](https://github.com/actions/virtual-environments/issues/183#issuecomment-610723516).
|
[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 a new issue