-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
make-disk-image: replace nixos-install by nix-env calls #70027
Conversation
nixos-install can only be called from a machine
The ova is working again. Also the following tests pass:
EDIT: the ec2 and openstack-image tests were broken even before #67232. |
Not in favor of this. The whole point of calling |
Reverted in 39c0e48. |
@edolstra should we revert https://github.com/NixOS/nixpkgs/pull/67232/files for the time being too then? until we figure out why it broke |
@arianvp Yes please. I understand someone can bring about the optimal solution, but there's no reason to block things because of this. |
nixos-install can only be called from a machine
Motivation for this change
fixes ova build error, which was introduced with PR #67232 .
Things done
I build ova successfully with following call:
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @vcunat @fpletz @markuskowa