Tobias Geerinckx-Rice writes: > * gnu/packages/dns.scm (nsd): New public variable. [...] > + (add-before 'configure 'patch-installation-paths > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (doc (string-append out "/share/doc/" ,name "-" ,version))) > + (substitute* "Makefile.in" > + (((string-append ".*\\$\\(DESTDIR\\)\\$\\(" > + "(config|pid|xfr|db)dir" > + "\\).*")) > + "") Can you add a comment about what's going on here? Would setting DESTDIR=(assoc-ref %outputs "out") in #:make-flags suffice? Apart from that LGTM.