Extend Setup Information
Add information on how to create a minimal setup: project/jobset.
This commit is contained in:
13
examples/hello.nix
Normal file
13
examples/hello.nix
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user