Alex Kost <alez...@gmail.com> skribis: > The only way I see for the Emacs interface is to modify > "emacs/guix-main.scm" to parameterize ‘%graft?’ as well and to set it > depending on the current value of ‘dry-run’. AFAICT this > parameterization should be added to: > > - 'process-package-actions': it is responsible for operations with > profiles (installing/upgrading/removing packages); > > - 'package-source-build-derivation': it is responsible for building > package sources. > > If my understanding is correct, I can make a patch for this.
Yes, it sounds good. > I can also add 'grafts' option that will appear in prompts (in the > mode-line along with 'substitutes' and 'dry-run'), but I'm not sure if > it will be useful since dry-run will disable grafts anyway. Yeah, I don’t think it’s useful. Thanks, Ludo’.