From ef4324316b96b50b4671cecef9ecc6fd286f224a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 20 Nov 2020 14:22:16 +0100 Subject: [PATCH] README: clarify how to install packages via nix-env --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ac9844..ecf539f 100644 --- a/README.md +++ b/README.md @@ -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 {}).lib.version'``` @@ -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 '' +``` + ## Hacking Install the dependencies