uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
nixos/tests/lorri/default.nix
Normal file
26
nixos/tests/lorri/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import ../make-test-python.nix {
|
||||
nodes.machine = { pkgs, ... }: {
|
||||
imports = [ ../../modules/profiles/minimal.nix ];
|
||||
environment.systemPackages = [ pkgs.lorri ];
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
# Copy files over
|
||||
machine.succeed(
|
||||
"cp '${./fake-shell.nix}' shell.nix"
|
||||
)
|
||||
machine.succeed(
|
||||
"cp '${./builder.sh}' builder.sh"
|
||||
)
|
||||
|
||||
# Start the daemon and wait until it is ready
|
||||
machine.execute("lorri daemon > lorri.stdout 2> lorri.stderr &")
|
||||
machine.wait_until_succeeds("grep --fixed-strings 'ready' lorri.stdout")
|
||||
|
||||
# Ping the daemon
|
||||
machine.succeed("lorri internal ping shell.nix")
|
||||
|
||||
# Wait for the daemon to finish the build
|
||||
machine.wait_until_succeeds("grep --fixed-strings 'Completed' lorri.stdout")
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue