diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-01-05 15:55:47 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-01-05 15:55:47 +0100 |
commit | 3441e164976c14ef8bf9a95ab4130ca25ac85e70 (patch) | |
tree | 3ca362753fb13ae279d178291fae4f3147abd8d5 /guix/config.scm.in | |
parent | 706d0641cfede33c70edaee5be49251388b8a000 (diff) | |
download | gnu-guix-3441e164976c14ef8bf9a95ab4130ca25ac85e70.tar gnu-guix-3441e164976c14ef8bf9a95ab4130ca25ac85e70.tar.gz |
ui: Factorize bug-report information in `--help'.
* guix/config.scm.in (%guix-home-page-url): New variable.
* guix/ui.scm (show-bug-report-information): New procedure.
* guix-build.in (show-help): Use it.
* guix-download.in (show-help): Likewise.
* guix-import.in (show-help): Likewise.
* guix-package.in (show-help): Likewise.
Diffstat (limited to 'guix/config.scm.in')
-rw-r--r-- | guix/config.scm.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/config.scm.in b/guix/config.scm.in index c5ebd39fae..321323c003 100644 --- a/guix/config.scm.in +++ b/guix/config.scm.in @@ -1,5 +1,5 @@ ;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*- -;;; Copyright (C) 2012 Ludovic Courtès <ludo@gnu.org> +;;; Copyright (C) 2012, 2013 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of Guix. ;;; @@ -20,6 +20,7 @@ #:export (%guix-package-name %guix-version %guix-bug-report-address + %guix-home-page-url %store-directory %state-directory %system @@ -42,6 +43,9 @@ (define %guix-bug-report-address "@PACKAGE_BUGREPORT@") +(define %guix-home-page-url + "@PACKAGE_URL@") + (define %store-directory "@storedir@") |