[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: create a symlink

From: Danny Milosavljevic
Subject: Re: create a symlink
Date: Wed, 13 Mar 2019 12:25:23 +0100

Hi Rene,

On Tue, 12 Mar 2019 14:57:59 -0600
Rene <address@hidden> 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
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-paths
           (lambda* (#:key outputs #:allow-other-keys)
             (substitute* "hurd/paths.h"
                (string-append "\"" (assoc-ref outputs "out") "\"")))

Attachment: pgpVobH7h3_Oc.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]