From 87d70237f991ebee86692d32989be57b0f2df0fa Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 13 Apr 2021 18:47:42 +0200 Subject: [PATCH] README: Small cleanup --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a100d61..2e85f52 100644 --- a/README.md +++ b/README.md @@ -78,19 +78,21 @@ To install Nix from any commit, go to [the corresponding installer_test action]( ### How do I print nixpkgs version I have configured? -```nix-instantiate --eval -E '(import {}).lib.version'``` +```yaml +- name: Print nixpkgs version + run: nix-instantiate --eval -E '(import {}).lib.version' +``` ### How can I run NixOS tests? With the following inputs: ```yaml - - uses: cachix/install-nix-action@vXX - with: - extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm" +- uses: cachix/install-nix-action@vXX + with: + 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). ### How can I install packages via nix-env from the specified `nix_path`?