![Cole Helbling](/assets/img/avatar_default.png)
By moving the tests subdirectory to t, we gain the ability to run `yath test` with no arguments from inside `nix develop` in the root of the the repo. (`nix develop` is necessary in order to set the proper env vars for `yath` to find our test libraries.)
10 lines
147 B
Nix
10 lines
147 B
Nix
rec {
|
|
path = "@testPath@";
|
|
|
|
mkDerivation = args:
|
|
derivation ({
|
|
system = builtins.currentSystem;
|
|
PATH = path;
|
|
} // args);
|
|
}
|