[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to copy a file to the package /bin folder using the r-build-syst
Re: How to copy a file to the package /bin folder using the r-build-system?
Sun, 09 Apr 2023 10:36:50 +0100
On Sun Apr 9, 2023 at 4:15 AM BST, Kyle Andrews wrote:
> > (lambda _
> > (mkdir (string-append #$output "/bin"))
> > (copy-file "inst/bin/r"
> > (string-append #$output "/bin/r")))
> This perfect makes sense now and is much more concise.
Actually, you can even do:
(string-append #$output "/bin")))
> $ guix build -L dev r-littler
> ld: cannot find -lz
> collect2: error: ld returned 1 exit status
> I know I have seen that error before, but I thought it was fixed by importing
> compression, prefixing (guix licenses) to prevent a namespace collision, and
> including zlib in the package inputs.
I think (!) you also need to import (gnu packages pkg-config) and add
PKG-CONFIG to NATIVE-INPUTS.
Description: PGP signature