Browse Source

build: Use "nix-instantiate" as the default name for that program.

* configure.ac: Have `NIX_INSTANTIATE' default to `nix-instantiate'.
gn-latest-20200428
Ludovic Courtès 8 years ago
parent
commit
c217708f7b
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      configure.ac

+ 6
- 0
configure.ac View File

@@ -65,6 +65,12 @@ if test "x$guix_build_daemon$NIX_INSTANTIATE$NIX_HASH" = "xno"; then
AC_MSG_ERROR([Nix programs not found; please install Nix or use `--with-nix-prefix'.])
fi

if test "x$NIX_INSTANTIATE" = "x"; then
# This program is an optional dependency, so we just want it to be
# taken from $PATH if it's not available right now.
NIX_INSTANTIATE="nix-instantiate"
fi

AC_ARG_WITH([nixpkgs],
[AS_HELP_STRING([--with-nixpkgs=DIR], [search for Nixpkgs in DIR])],
[case "$withval" in


Loading…
Cancel
Save