From 441853e7242a38b5e2ca1c80efd3fbaf9f5d6898 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 24 Nov 2017 14:40:53 -0500 Subject: [PATCH] make the commands linkable --- README.md | 20 +++++++++++--------- ofborg/src/tasks/build.rs | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c19bfb0..7b314d2 100644 --- a/README.md +++ b/README.md @@ -16,14 +16,7 @@ Commands: -``` -@grahamcofborg build list of attrs -``` - -This will run `nix-build ./default.nix -A list -A of -A attrs` in -the nixpkgs checkout. - ---- +### test (added: 2017-11-24) ``` @grahamcofborg test list of tests @@ -32,7 +25,7 @@ the nixpkgs checkout. This will run `nix-build ./nixos/default.nix -A tests.list -A tests.of -A tests.attrs` in the nixpkgs checkout. Note: this will only run on x86_64-linux machines. ---- +### eval ``` @grahamcofborg eval @@ -43,6 +36,15 @@ commits change. There is no reason to run eval on a PR unless the evaluation has failed for weird reasons, or because master was broken before. +### build + +``` +@grahamcofborg build list of attrs +``` + +This will run `nix-build ./default.nix -A list -A of -A attrs` in +the nixpkgs checkout. + --- diff --git a/ofborg/src/tasks/build.rs b/ofborg/src/tasks/build.rs index 77b8b55..c854c3c 100644 --- a/ofborg/src/tasks/build.rs +++ b/ofborg/src/tasks/build.rs @@ -64,7 +64,7 @@ impl worker::SimpleWorker for BuildWorker { }; let buildfile = match job.subset { - Some(commentparser::Subset::NixOS) => "./nixos/default.nix", + Some(commentparser::Subset::NixOS) => "./nixos/release.nix", _ => "./default.nix" };