Hi Ludo', Ludovic Courtès writes: > Oh, got it. Yes, we could keep a in the ‘replacement’ field > instead of explicitly calling ‘package->derivation’. It’s much simpler, > that’s a good idea. Oh nice, that's really neat! I didn't know about , that achieves exactly what I was hoping for. > I gave it a try, see patch attached. Let me know what you think! Is there a reason you use 'with-parameters' in 'graft-derivation/shallow' and not in 'input-graft' and 'input-cross-graft'? I attached a patch below where I do that and also set %current-system and %current-target-system (although I'm not sure they are strictly necessary because of the 'parameterize' in 'bag-grafts'). Then, the changes to the gexp-compiler of are not required to allow for strings in the 'replacement' field in tests/grafts.scm and the tests still pass. Cheers, David