mirror of
https://gitlab.com/TECHNOFAB/nixtest.git
synced 2025-12-12 02:00:18 +01:00
feat: add test helpers
default args to {}
This commit is contained in:
parent
001b575f31
commit
bed029f4a9
3 changed files with 59 additions and 1 deletions
5
lib/testHelpers.nix
Normal file
5
lib/testHelpers.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{lib, ...}: {
|
||||
path = pkgs: "export PATH=${lib.makeBinPath pkgs}";
|
||||
pathAdd = pkgs: "export PATH=$PATH:${lib.makeBinPath pkgs}";
|
||||
scriptHelpers = builtins.readFile ./scriptHelpers.sh;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue