~ruther/guix-local

bb0a70e1f1bc28b49a6c3c58e4d9feeb0f3b92ee — Ludovic Courtès 12 years ago 490c652
build: Improve documentation of Nix-related options.

* configure.ac: Add documentation for --with-nix and --with-nixpkgs.
1 files changed, 4 insertions(+), 2 deletions(-)

M configure.ac
M configure.ac => configure.ac +4 -2
@@ 62,7 62,8 @@ GUIX_CHECK_SRFI_37
AM_CONDITIONAL([INSTALL_SRFI_37], [test "x$ac_cv_guix_srfi_37_broken" = xyes])

AC_ARG_WITH([nix-prefix],
  [AS_HELP_STRING([--with-nix-prefix=DIR], [search for Nix in DIR])],
  [AS_HELP_STRING([--with-nix-prefix=DIR],
    [search for Nix in DIR (for testing purposes and '--disable-daemon' builds)])],
  [case "$withval" in
    yes|no) ;;
    *)


@@ 86,7 87,8 @@ if test "x$NIX_INSTANTIATE" = "x"; then
fi

AC_ARG_WITH([nixpkgs],
  [AS_HELP_STRING([--with-nixpkgs=DIR], [search for Nixpkgs in DIR])],
  [AS_HELP_STRING([--with-nixpkgs=DIR],
    [search for Nixpkgs in DIR (for testing purposes only)])],
  [case "$withval" in
    yes|no) AC_MSG_ERROR([Please use `--with-nixpkgs=DIR'.]);;
    *)      NIXPKGS="$withval";;