about summary refs log tree commit diff
path: root/src/nix/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-25T16·48+0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-25T16·48+0200
commit921a2aeb0537f34bc2b41e98e67a1c829321ee81 (patch)
tree9fb8bdd89cf0bfa221f8f683c100fb4c6cf3e028 /src/nix/local.mk
parentc31000bc935d3d51665fb2a7d7c2fa88e6f12acf (diff)
Make "nix repl" build
Diffstat (limited to 'src/nix/local.mk')
-rw-r--r--src/nix/local.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/local.mk b/src/nix/local.mk
index f6e7073b6e7d..21f190e476f4 100644
--- a/src/nix/local.mk
+++ b/src/nix/local.mk
@@ -6,4 +6,6 @@ nix_SOURCES := $(wildcard $(d)/*.cc)
 
 nix_LIBS = libexpr libmain libstore libutil libformat
 
+nix_LDFLAGS = -lreadline
+
 $(eval $(call install-symlink, nix, $(bindir)/nix-hash))