infra/hosts/build02/supervisor_test.nix

18 lines
382 B
Nix
Raw Normal View History

{ pkgs, ... }:
pkgs.runCommand "nixpkgs-update-supervisor-test"
2024-07-24 19:05:26 +10:00
{
buildInputs = [ (pkgs.python3.withPackages (ps: [ ps.asyncinotify ])) ];
files = pkgs.lib.fileset.toSource {
root = ./.;
fileset = pkgs.lib.fileset.unions [
./supervisor.py
./supervisor_test.py
];
};
}
''
python3 $files/supervisor_test.py
touch $out
''