Theodoros Foradis <theodoros....@openmailbox.org> skribis: >> + #:phases >> + (modify-phases %standard-phases >> + (add-after 'unpack 'remove-usr-local >> + (lambda _ >> + (substitute* "iceprog/Makefile" >> + (("-L/usr/local/lib") "")))) >> + (delete 'configure)))) > > I made an omission in in my last mail. > > The icestorm package builds as it is (with libusb added to the > inputs).But in order to ensure that the headers in /usr/local/include > are not used when building, the code above should be changed to: > > (lambda _ > (substitute* "iceprog/Makefile" > (("-L/usr/local/lib") "") > (("-I/usr/local/include") ""))))
This is unnecessary unless you’re running “guix-daemon --disable-chroot”, in which case many things break along these lines anyway. Ludo’.