Maybe I've read the docs incorrectly, but I thought I should be able to do this:
nixci = {
builds = with inputs.self; {
inherit packages devShells apps;
};
tests = with inputs.self; {inherit checks;};
};
nixci build .#tests
Error: Command error: Process exited unsuccessfully. exit_code=Some(1) stderr=warning: Git tree '/home//src/project' is dirty
error: flake 'git+file:///home/src/project' does not provide attribute 'packages.x86_64-linux.nixci.tests', 'legacyPackages.x86_64-linux.nixci.tests' or 'nixci.tests'
Caused by:
Process exited unsuccessfully. exit_code=Some(1) stderr=warning: Git tree '/home/src/project' is dirty
error: flake 'git+file:///home/src/project' does not provide attribute 'packages.x86_64-linux.nixci.tests', 'legacyPackages.x86_64-linux.nixci.tests' or 'nixci.tests'
I can't reference directly either:
nixci build .#nixci.x86_64-linux.tests
Error: Invalid flake URL (too many nested attr): .
Maybe I've read the docs incorrectly, but I thought I should be able to do this:
nixci build .#testsI can't reference directly either: