From: Danny Milosavljevic <dannym@scratchpost.org>
To: Rene <ikhuuma@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: create a symlink
Date: Wed, 13 Mar 2019 12:25:23 +0100 [thread overview]
Message-ID: <20190313122523.3620d212@scratchpost.org> (raw)
In-Reply-To: <cuclg1jdd48.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
Hi Rene,
On Tue, 12 Mar 2019 14:57:59 -0600
Rene <ikhuuma@gmail.com> wrote:
> How I can change "/hurd/" by "/gnu/store/abc..-hurd-0.9/hurd/" in
> <hurd/paths.h> through Guix?
>
> --8<---------------cut here---------------start------------->8---
> /* Hurd servers are specified by symbols _HURD_FOO,
> the canonical pathname being /hurd/foo. */
>
> #define _HURD "/hurd/"
> #define _HURD_STARTUP _HURD "startup"
> #define _HURD_PROC _HURD "proc"
> #define _HURD_AUTH _HURD "auth"
> --8<---------------cut here---------------end--------------->8---
Hmm, try to patch it out of the source code.
Modify /gnu/packages/hurd.scm to be something like:
(define-public hurd
(package
[...]
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "hurd/paths.h"
(("\"/hurd/\"")
(string-append "\"" (assoc-ref outputs "out") "\"")))
#t))
[...]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2019-03-13 11:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-12 20:57 create a symlink Rene
2019-03-13 11:25 ` Danny Milosavljevic [this message]
2019-03-13 14:52 ` Ludovic Courtès
2019-03-25 23:06 ` Danny Milosavljevic
-- strict thread matches above, loose matches on Subject: below --
2019-03-28 1:54 Rene
2019-04-03 7:12 ` Chris Marusich
2019-03-08 21:13 Rene
2019-03-09 8:22 ` Danny Milosavljevic
2018-04-19 2:54 Rene
2018-04-19 6:26 ` Danny Milosavljevic
2018-04-19 21:23 ` Joshua Branson
2018-04-21 14:31 ` Rene
2018-04-27 5:20 ` Rene
2018-04-27 15:08 ` Danny Milosavljevic
2019-03-07 22:11 ` Rene
2019-03-08 8:15 ` Danny Milosavljevic
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190313122523.3620d212@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
--cc=ikhuuma@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).