mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-27 19:03:57 +00:00
README: clarify how to install packages via nix-env
This commit is contained in:
parent
68043fd3c3
commit
ef4324316b
1 changed files with 7 additions and 1 deletions
|
@ -79,7 +79,7 @@ jobs:
|
||||||
|
|
||||||
[Currently GitHub Actions are not running on Azure instance types that support nested virtualization](https://github.com/actions/virtual-environments/issues/183#issuecomment-610723516).
|
[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 with the channel I have configured?
|
### How do I print nixpkgs version I have configured?
|
||||||
|
|
||||||
|
|
||||||
```nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'```
|
```nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'```
|
||||||
|
@ -96,6 +96,12 @@ With the following inputs:
|
||||||
|
|
||||||
Note that there's no hardware acceleration on GitHub Actions.
|
Note that there's no hardware acceleration on GitHub Actions.
|
||||||
|
|
||||||
|
### How can I install packages via nix-env from the specified `nix_path`?
|
||||||
|
|
||||||
|
```
|
||||||
|
nix-env -i mypackage -f '<nixpkgs>'
|
||||||
|
```
|
||||||
|
|
||||||
## Hacking
|
## Hacking
|
||||||
|
|
||||||
Install the dependencies
|
Install the dependencies
|
||||||
|
|
Loading…
Reference in a new issue