aboutsummaryrefslogtreecommitdiff
path: root/src/nix/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/local.mk')
-rw-r--r--src/nix/local.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nix/local.mk b/src/nix/local.mk
index e71cf16fa..c7d2d328a 100644
--- a/src/nix/local.mk
+++ b/src/nix/local.mk
@@ -2,12 +2,8 @@ programs += nix
nix_DIR := $(d)
-nix_SOURCES := $(wildcard $(d)/*.cc)
+nix_SOURCES := $(wildcard $(d)/*.cc) src/linenoise/linenoise.c
nix_LIBS = libexpr libmain libstore libutil libformat
-ifeq ($(HAVE_READLINE), 1)
- nix_LDFLAGS += -lreadline
-endif
-
$(eval $(call install-symlink, nix, $(bindir)/nix-hash))