atuin: only generate completions if program can be executed#316749
atuin: only generate completions if program can be executed#316749SuperSandro2000 merged 1 commit intoNixOS:masterfrom
Conversation
NixOS#289517 will break cross otherwise.
|
Hm, since this kind of error will probably pop up on more packages, I would like to know if this is the best fix. I think checking Does the emulator fall back to a no-op/passthrough command if |
Yes. I personally don't like bringing the emulator (qemu) into the build closure of packages, shell completions are not critical to the functioning of packages thus not worth it. |
|
The best solution would be, if upstream could just commit those files. qemu is kinda slow, building the package twice, also. |
Description of changes
I expect #289517 will break cross otherwise, as we end up with 0 byte files (the actual error is ignored):
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.