Re: Help with copy-build-system

2021-03-26 Thread Raghav Gururajan
You need 2 entries then. Cool! Regards, RG. OpenPGP_signature Description: OpenPGP digital signature

Re: Help with copy-build-system

2021-03-26 Thread Pierre Neidhardt
You need 2 entries then. -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

Re: Help with copy-build-system

2021-03-26 Thread Raghav Gururajan
Hi Pierre! With the same example, I was looking for a way where foo gets copied to as /target/bbb/foo. ("/source/aaa/parent" "/target/bbb/" #:include ("foo")) should work then. Thanks! Will that work with multiple files. Lets say I do #:include ("foo" "bar"). foo is in /source/aaa/foo and

Re: Help with copy-build-system

2021-03-26 Thread Raghav Gururajan
Hi Pierre! I haven't looked closely at your patch, but here is the rule for copy-build-system if I'm not mistaken: the files matching #:include preserve the path relative to the first argument. For instance with this rule ("/source/aaa/" "/target/bbb/" #:include ("foo")) the file

Re: Help with copy-build-system

2021-03-26 Thread Pierre Neidhardt
Hi, I haven't looked closely at your patch, but here is the rule for copy-build-system if I'm not mistaken: the files matching #:include preserve the path relative to the first argument. For instance with this rule ("/source/aaa/" "/target/bbb/" #:include ("foo")) the file

Help with copy-build-system

2021-03-10 Thread Raghav Gururajan
Hello Guix! With the attached patch (top be applied on top-off current master), how to make copy-build-system to install files as `/bin/foofile` instead of `/bin/foodir/foofile`? (The foofiles are selected via #:include) Thank you! Regards, RG. diff --git a/gnu/packages/qt.scm

Re: help with copy-build-system

2020-12-24 Thread Cameron
Thank you Julien, This was indeed the problem! Many apologies to everyone for the double-post as well. -Cam On Thu, Dec 24, 2020, at 6:07 AM, Julien Lepiller wrote: > I don't think this is related to the copy-build-system, because it doesn't > change the unpack phase. Whathappens here is that

Re: help with copy-build-system

2020-12-24 Thread Julien Lepiller
I don't think this is related to the copy-build-system, because it doesn't change the unpack phase. Whathappens here is that guix expects the content of the tarball to be in a subdirectory, which is not the case here. In the source definition, you should use url-fetch/tarbomb instead of

Help with copy-build-system

2020-12-24 Thread Cameron
Hello, I am new to Guix but it seems to be the perfect tools for running a small cluster of servers that I need to administer. The one thing that so far is holding me back from doing so is the absence of a package for Caddy (https://caddyserver.com) which this cluster relies on heavily. I hope

help with copy-build-system

2020-12-24 Thread Cameron
Hello, I am new to Guix but it seems to be the perfect tools for running a small cluster of servers that I need to administer. The one thing that so far is holding me back from doing so is the absence of a package for Caddy (https://caddyserver.com) which this cluster relies on heavily. I hope