forked from fluidattacks/makes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(back): fluidattacks#1223 support jobs
- Add support for jobs in makes.nix in order to deprecate main.nix and CLI job discovery - Remove unused scorecard pipeline
- Loading branch information
Showing
4 changed files
with
25 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ __toModuleOutputs__, ... }: | ||
{ config, lib, ... }: | ||
let | ||
makeOutput = name: value: { | ||
inherit name; | ||
inherit value; | ||
}; | ||
in { | ||
options = { | ||
jobs = lib.mkOption { | ||
default = { }; | ||
type = lib.types.attrsOf lib.types.package; | ||
}; | ||
}; | ||
config = { outputs = __toModuleOutputs__ makeOutput config.jobs; }; | ||
} |