Skip to content

Commit

Permalink
tasks: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar authored Nov 19, 2024
1 parent 206ac36 commit 78504b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/tasks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ in

assertions = [
{
assertion = lib.all (task: task.binary == "bash" || task.export == [ ]) (lib.attrValues config.tasks);
message = "The 'export' option can only be set when 'binary' is set to 'bash'.";
assertion = lib.all (task: task.binary == "bash" || task.exports == [ ]) (lib.attrValues config.tasks);
message = "The 'exports' option can only be set when 'binary' is set to 'bash'.";
}
];

Expand Down

0 comments on commit 78504b6

Please sign in to comment.