all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lucy Coleclough <coleclough.lucy@gmail.com>
To: guix-devel@gnu.org
Subject: Kitty terminal new package, symlink problem
Date: Wed, 22 May 2024 15:38:33 +0100	[thread overview]
Message-ID: <61c06fbe-6a3a-13a0-e6b8-e595c2762c12@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]

Hi Edison Ibáñez if you see this,
I am unsure if my reply on debuggs was sent, i am yet to get a email 
address that supports git send-email,
It seems that go embed does not support symlinks and in the kitty build 
dir, "/src/github.com/alecthomas/chroma/v2/**" the embed-ed files are 
symlinks to the chroma store directory.

https://pkg.go.dev/embed
"Patterns must not match files outside the package's module, such as 
‘.git/*’ or symbolic links. Patterns must not match files whose names 
include the special punctuation characters " * < > ? ` ' | / \ and :. 
Matches for empty directories are ignored. After that, each pattern in a 
//go:embed line must match at least one file or non-empty directory. "

I was just looking at what is the process which creates the link, it is 
possibly line 232 ( in my checkout) of guix/build/go-build-system
```
   (let ((dest (string-append (getenv "GOPATH") "/src/" unpack-path)))
     (mkdir-p dest)
     (if (file-is-directory? source)
         (copy-recursively source dest #:keep-mtime? #t)
         (unpack-maybe-strip source dest)))

```
there is not a symlink function call, i think build systems are 
inherited so maybe it is in a containing build system.

Im going out now but this seems to be the cause of the failure.

Also if anyone sees this and has an invite to riseup email service ( 
should the service be capable of handling another stranger) then please 
may i have a invite?, google sux
Thanks!

[-- Attachment #2: Type: text/html, Size: 2137 bytes --]

             reply	other threads:[~2024-05-22 14:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 14:38 Lucy Coleclough [this message]
2024-05-30  3:21 ` Setting up gmail for git send-email Imran Iqbal
2024-05-30  8:25   ` Philip McGrath
2024-05-30 10:15     ` lucy
2024-05-30 10:15   ` lucy
2024-05-31 13:23     ` pinoaffe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61c06fbe-6a3a-13a0-e6b8-e595c2762c12@gmail.com \
    --to=coleclough.lucy@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.