all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Martin Castillo <castilma@uni-bremen.de>
Cc: guix-devel@gnu.org
Subject: Re: Building from a local source code checkout
Date: Thu, 21 Dec 2017 15:38:46 +0100	[thread overview]
Message-ID: <87zi6c5eo9.fsf@gnu.org> (raw)
In-Reply-To: <87ea6ca7-4dc9-a11b-0ea3-d6f8d3d66b31@uni-bremen.de> (Martin Castillo's message of "Thu, 21 Dec 2017 12:20:43 +0100")

Hi,

Martin Castillo <castilma@uni-bremen.de> skribis:

>> Oops, you are right! So
>> 
>>    guix build python-activepapers --with-source=$HOME/Development/python-activepapers/
>> 
>> actually works, but
>> 
>>    guix build python-activepapers --with-source=$HOME/Development/python-activepapers
>> 
> As one error message earlier in the thread stated, guix uses lstat to
> get info about the stated file. lstat doesn't follow symlinks. You force
> the dereference by appending the slash.

Indeed.

I agree the matching-name constraint can be annoying.  The alternative
would be allow the user to (optionally?) specify the name of the package
whose source is being changed, as in:

  guix build python-activepapers \
    --with-source=python-activepapers=$HOME/Dev/AP

WDYT?

A bit heavyweight syntactically but maybe we have to live with it.

Ludo’.

  reply	other threads:[~2017-12-21 14:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19 11:34 Building from a local source code checkout Konrad Hinsen
2017-12-19 17:15 ` Ludovic Courtès
2017-12-20  8:52   ` Konrad Hinsen
2017-12-20 10:19     ` Konrad Hinsen
2017-12-20 12:41       ` Carlo Zancanaro
2017-12-21  6:38         ` Konrad Hinsen
2017-12-21 10:38           ` Pjotr Prins
2017-12-21 11:20           ` Martin Castillo
2017-12-21 14:38             ` Ludovic Courtès [this message]
2017-12-21 16:53               ` Martin Castillo
2017-12-22  9:29                 ` Ludovic Courtès
2017-12-21 17:02               ` Konrad Hinsen
2017-12-22 23:07                 ` Ludovic Courtès

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=87zi6c5eo9.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=castilma@uni-bremen.de \
    --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.