aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/fish.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2014-12-06 14:53:00 +0800
committer宋文武 <iyzsong@gmail.com>2014-12-07 11:52:22 +0800
commitfa9d66538528e3e7f4f4a8498c233915c6996a97 (patch)
tree7bfe1bb8fba2a8a1c1a1a9a35ea34e299b0d795d /gnu/packages/fish.scm
parent6036453fff4c92396a0c2fbbfabd6baa07164716 (diff)
downloadguix-fa9d66538528e3e7f4f4a8498c233915c6996a97.tar
guix-fa9d66538528e3e7f4f4a8498c233915c6996a97.tar.gz
gnu: fish: Use /etc as sysconfdir.
* gnu/packages/fish.scm (fish) [arguments]: Add #:configure-flags. [origin]: Add snippet.
Diffstat (limited to 'gnu/packages/fish.scm')
-rw-r--r--gnu/packages/fish.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/fish.scm b/gnu/packages/fish.scm
index ee11124748..9398446a0c 100644
--- a/gnu/packages/fish.scm
+++ b/gnu/packages/fish.scm
@@ -35,14 +35,20 @@
version "/fish-" version ".tar.gz"))
(sha256
(base32
- "096rhi911s3j618cvp8fj9pb4jniy3y6415jvjg8bhszsp1x7r5p"))))
+ "096rhi911s3j618cvp8fj9pb4jniy3y6415jvjg8bhszsp1x7r5p"))
+ (modules '((guix build utils)))
+ ;; Don't try to install /etc/fish/config.fish.
+ (snippet
+ '(substitute* "Makefile.in"
+ ((".*INSTALL.*sysconfdir.*fish.*") "")))))
(build-system gnu-build-system)
(native-inputs
`(("doxygen" ,doxygen)))
(inputs
`(("ncurses" ,ncurses)))
(arguments
- '(#:tests? #f)) ; no check target
+ '(#:tests? #f ; no check target
+ #:configure-flags '("--sysconfdir=/etc")))
(synopsis "The friendly interactive shell")
(description
"Fish (friendly interactive shell) is a shell focused on interactive use,