unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41151] [PATCH] gnu: vis: Fix #39394
@ 2020-05-09 15:51 tsmish
  2020-06-01 13:44 ` bug#41151: " Jakub Kądziołka
  0 siblings, 1 reply; 2+ messages in thread
From: tsmish @ 2020-05-09 15:51 UTC (permalink / raw)
  To: 41151

There is no need to set $VIS_PATH to $prefix/share/vis as VIS_PATH
(#define), which is also in search path
(https://github.com/martanne/vis/blob/7648280a95954304e5e935e2cead16d836b86eda/vis-lua.c#L2662),
is already set by Makefile to $prefix/share/vis
(https://github.com/martanne/vis/blob/7648280a95954304e5e935e2cead16d836b86eda/Makefile#L37).

---
 gnu/packages/text-editors.scm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 886babf3fa..5b17a5082f 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -101,10 +101,6 @@
                  `("LUA_PATH" ":" prefix (,LUA_PATH))
                  `("LUA_CPATH" ":" prefix (,LUA_CPATH)))
                #t))))))
-    (native-search-paths
-     (list (search-path-specification
-            (variable "VIS_PATH")
-            (files '("share/vis")))))
     (inputs `(("lua" ,lua)
               ("ncurses" ,ncurses)
               ("libtermkey" ,libtermkey)
-- 
2.26.2




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#41151: [PATCH] gnu: vis: Fix #39394
  2020-05-09 15:51 [bug#41151] [PATCH] gnu: vis: Fix #39394 tsmish
@ 2020-06-01 13:44 ` Jakub Kądziołka
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kądziołka @ 2020-06-01 13:44 UTC (permalink / raw)
  To: tsmish; +Cc: 41151-done

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

On Sat, May 09, 2020 at 03:51:53PM +0000, tsmish wrote:
> There is no need to set $VIS_PATH to $prefix/share/vis as VIS_PATH
> (#define), which is also in search path
> (https://github.com/martanne/vis/blob/7648280a95954304e5e935e2cead16d836b86eda/vis-lua.c#L2662),
> is already set by Makefile to $prefix/share/vis
> (https://github.com/martanne/vis/blob/7648280a95954304e5e935e2cead16d836b86eda/Makefile#L37).

Thanks for the patch! We usually avoid putting a bug number as the only
information in the commit title, so I took the liberty to rewrite the
commit message a bit:

commit 5b588f2c9ba9c40dc32aed7c3cdaa45e8f920509 (HEAD -> master, upstream/master)
Author: tsmish <tsymsh@gmail.com>
Date:   Sat May 9 15:51:53 2020 +0000

    gnu: vis: Fix configuration load order.

    * gnu/packages/text-editors.scm (vis)[native-search-paths]: Remove.

    There is no need to set $VIS_PATH to $prefix/share/vis as VIS_PATH
    (#define), which is also in search path
    (https://github.com/martanne/vis/blob/7648280a95954304e5e935e2cead16d836b86eda/vis-lua.c#L2662),
    is already set by Makefile to $prefix/share/vis
    (https://github.com/martanne/vis/blob/7648280a95954304e5e935e2cead16d836b86eda/Makefile#L37).

    This fixes issue https://issues.guix.gnu.org/39394

    Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>

Cheers!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-01 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 15:51 [bug#41151] [PATCH] gnu: vis: Fix #39394 tsmish
2020-06-01 13:44 ` bug#41151: " Jakub Kądziołka

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).