diff options
author | Leo Famulari <leo@famulari.name> | 2017-11-11 22:57:55 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-11-11 23:04:39 -0500 |
commit | b7ca42aa994302801d9450a008cb8cd9ce50cb3a (patch) | |
tree | cdc0173c1ef596760b7779028d5124a2836b5854 | |
parent | 882d921344a4881fcf9d2d2c8f290fe8766fef80 (diff) | |
download | patches-b7ca42aa994302801d9450a008cb8cd9ce50cb3a.tar patches-b7ca42aa994302801d9450a008cb8cd9ce50cb3a.tar.gz |
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.
-rw-r--r-- | gnu/packages/w3m.scm | 6 |
1 files changed, 4 insertions, 2 deletions
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 <nikita@karetnikov.org> -;;; Copyright © 2016 Leo Famulari <leo@famulari.name> +;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> ;;; @@ -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 |