Extend Setup Information

Add information on how to create a minimal setup: project/jobset.
This commit is contained in:
Tobias Pflug
2020-05-02 15:31:03 +02:00
parent fd38524843
commit c8c308c0e2
2 changed files with 45 additions and 0 deletions

13
examples/hello.nix Normal file
View File

@ -0,0 +1,13 @@
#
# jobset example file. This file canbe referenced as Nix expression
# in a jobset configuration along with inputs for nixpkgs and the
# repository containing this file.
#
{ ... }:
let
# <nixpkgs> is set to the value designated by the nixpkgs input of the
# jobset configuration.
pkgs = (import <nixpkgs> {});
in {
hello = pkgs.hello;
}