From e76bdf8b87920b87a2a2e728c2e40ff24ca39ffe Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 3 Nov 2012 21:11:02 +0100 Subject: build: Clearly mark Nixpkgs as optional. * configure.ac: Always show the result of checking for Nixpkgs. Don't warn when Nixpkgs is not found. * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Remove `--with-nixpkgs' flag. * guix/utils.scm (%nixpkgs-directory): Use either the compile-time or the run-time `NIXPKGS' environment variable. * release.nix (jobs.tarball, jobs.build): Remove `--with-nixpkgs' configure flag. * README: Mark Nixpkgs as optional. * distro/packages/databases.scm, distro/packages/guile.scm, distro/packages/typesetting.scm: Change uses of `nixpkgs-derivation*' to `nixpkgs-derivation', to avoid failing at compile-time. --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d9a5f07f4f..85bd20e2be 100644 --- a/configure.ac +++ b/configure.ac @@ -52,13 +52,12 @@ AC_ARG_WITH([nixpkgs], esac], []) +AC_MSG_CHECKING([for Nixpkgs source tree]) if test -f "$NIXPKGS/default.nix"; then - AC_MSG_CHECKING([for Nixpkgs source tree]) AC_MSG_RESULT([$NIXPKGS]) AC_SUBST([NIXPKGS]) else - AC_MSG_WARN([Nixpkgs not found; this will prevent most tests from running.]) - AC_MSG_WARN([Please use `--with-nixpkgs'.]) + AC_MSG_RESULT([not found]) fi AC_ARG_WITH([libgcrypt-prefix], -- cgit v1.2.3