Skip to content

Commit

Permalink
README: clarify how to install packages via nix-env
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar authored Nov 20, 2020
1 parent 68043fd commit ef43243
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

### 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'```
Expand All @@ -96,6 +96,12 @@ With the following inputs:

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
Install the dependencies
Expand Down

1 comment on commit ef43243

@nomeata
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, appreciated!

Please sign in to comment.