Heya, 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:
```
(lambda _
(install-file "inst/bin/r"
(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.
-- (
signature.asc
Description: PGP signature
