Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --allow-empty-outputs #31

Open
srid opened this issue Oct 29, 2023 · 0 comments
Open

Add --allow-empty-outputs #31

srid opened this issue Oct 29, 2023 · 0 comments

Comments

@srid
Copy link
Owner

srid commented Oct 29, 2023

Mainly for #2 - we want to sometimes allow nixci to not error out (but print only warning) when devour-flake produces no outputs.

cf.

🍎 default.macos
🐚 nix --extra-experimental-features 'nix-command flakes' build '/nix/store/p8vfkmfh43yy8lmz1r65dr9yq3ql7cd7-source#default' -L --no-link --print-out-paths --override-input flake '.?dir=examples/macos' --override-input flake/nixos-flake /nix/store/nn4hxy0cwr7blvmqjp42mvgn5yss4kb6-source --refresh -j auto️

�[K
�[Kwarning: not writing modified lock file of flake 'path:/nix/store/p8vfkmfh43yy8lmz1r65dr9yq3ql7cd7-source':
this derivation will be built:
  /nix/store/vb0gvb91439nb57fldpgp42gn4hkigpb-devour-output.drv
building '/nix/store/vb0gvb91439nb57fldpgp42gn4hkigpb-devour-output.drv'...
Error: devour-flake produced an outpath (/nix/store/1s02vc584sy7nzhx81j93mk1mrwnql9g-devour-output) with no outputs

https://jenkins.srid.ca/job/nixos-flake/job/PR-39/3/console

(^ Because Jenkins Linux builder can't do macos builds)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant