Hi Ray,

On 26 Apr, Ray Miller wrote:
> Hi,
> 
> I've been experimenting with a custom AWS Lambda runtime for Guile. AWS
> Lambda allows you to use a container image as your deployment package, and I
> figured it should be possible to create a Docker image with Guile, my
> runtime and handler, and all their dependencies using `guix pack`. Well, it
> nearly works...only it turns out AWS Lambda is a bit fussy about the layers
> and the function creation fails with this error:
> 
> "MissingParentDirectory: Parent directory does not exist for file:
> gnu/store/zic27jikg36d6wjj4cz8hyriyfl3ygiz-info-dir/"
> 
> It seems the gnu/ and gnu/store parent directories need to appear in the
> tarball before any packages.
> 
> I made a couple of small changes to guix (see below) to create a container
> that works with AWS Lambda, and now I'm wondering (a) if there's a better
> way and (b) how to get an acceptable change incorporated into guix proper.
> Please advise (also, please let me know if this would better have been
> directed at the guix-devel mailing list - I'm fairly now to this). Many
(...)

Interesting.

You are best off creating an Issue (https://issues.guix.gnu.org), explaining 
the situation and attaching your patch there.

I don't know which team is likely to pick this up, so it might be worth seeing 
if anyone on guix-devel has an interest when you have the bug number. If you 
can please reference any AWS documentation that supports the need for the 
top-level directories to be in the previous layer.

Steve / Futurile



Attachment: signature.asc
Description: PGP signature

Reply via email to