Ludovic Courtès writes: > Vivien Kraus skribis: >> + (add-after 'install 'wrap-program >> + (lambda* (#:key inputs outputs #:allow-other-keys) >> + (let ((out (assoc-ref outputs "out")) >> + (coreutils (assoc-ref inputs "coreutils"))) >> + (wrap-program (string-append out "/sbin/resolvconf") >> + `("PATH" ":" = (,(string-append coreutils "/bin")))))))))) >> + (inputs >> + `(("bash-minimal" ,bash-minimal) >> + ("coreutils" ,coreutils))) > > Since /sbin/resolvconf is a shell script, how about, instead of wrapping > it, inserting with ‘substitute*’ something like: > > PATH=/gnu/store/…-coreutils/bin:$PATH > > somewhere at the top? Good idea. > (We could also use ‘coreutils-minimal’ here.) It contains the required binaries, so let’s go with it. Vivien