~ruther/guix-local

7b706a49300d43778527eacfb5087d8bce11dcd2 — John Darrington 9 years ago a69bc70
gnu: Fix path to /etc/netconfig in libtirpc.

* gnu/packages/onc-rpc.scm (libtirpc) [arguments]: Replace "/etc/netconfig"
with (string-append %output "/etc/netconfig")
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/onc-rpc.scm
M gnu/packages/onc-rpc.scm => gnu/packages/onc-rpc.scm +8 -0
@@ 43,6 43,14 @@
       (modify-phases %standard-phases
         (add-after 'unpack 'remote-dangling-symlink
           (lambda _
             (substitute* '("man/netconfig.5"
                            "man/getnetconfig.3t"
                            "man/getnetpath.3t"
                            "man/rpc.3t"
                            "src/getnetconfig.c"
                            "tirpc/netconfig.h")
               (("/etc/netconfig") (string-append %output "/etc/netconfig")))

             ;; Remove the dangling symlinks since it breaks the
             ;; 'patch-source-shebangs' file tree traversal.
             (delete-file "INSTALL"))))))