mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-24 15:01:56 +03:00
24 lines
292 B
Nix
24 lines
292 B
Nix
{
|
|
self,
|
|
|
|
lib,
|
|
nix,
|
|
python3,
|
|
|
|
utils,
|
|
dream2nixWithExternals,
|
|
...
|
|
}:
|
|
let
|
|
l = lib // builtins;
|
|
|
|
in
|
|
utils.writePureShellScript
|
|
[
|
|
nix
|
|
]
|
|
''
|
|
export dream2nixSrc=${dream2nixWithExternals}
|
|
${python3.pkgs.pytest}/bin/pytest ${self}/tests/unit "$@"
|
|
''
|