From b7ca42aa994302801d9450a008cb8cd9ce50cb3a Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sat, 11 Nov 2017 22:57:55 -0500 Subject: gnu: w3m: Find an editor in the environment. * gnu/packages/w3m.scm (w3m)[arguments]: Pass an empty value for --with-editor in #:configure-flags. [source]: Use git-file-name. --- gnu/packages/w3m.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/w3m.scm b/gnu/packages/w3m.scm index a758f2920b..14b5994bcf 100644 --- a/gnu/packages/w3m.scm +++ b/gnu/packages/w3m.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov -;;; Copyright © 2016 Leo Famulari +;;; Copyright © 2016, 2017 Leo Famulari ;;; Copyright © 2016 Kei Kebreau ;;; Copyright © 2016 Efraim Flashner ;;; @@ -44,13 +44,15 @@ (uri (git-reference (url "https://anonscm.debian.org/cgit/collab-maint/w3m.git") (commit (string-append "v" version)))) - (file-name (string-append "w3m-" version "-checkout")) + (file-name (git-file-name name version)) (sha256 (base32 "0p8csd49b550q69bk45ncs2y2x48xij7jj11xapp0s8dn1j7kcgx")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; no check target + ;; Use $EDITOR instead of a hard-coded value. + #:configure-flags '("--with-editor=") #:phases (modify-phases %standard-phases (add-before 'configure 'fix-perl -- cgit 1.4.1