aboutsummaryrefslogtreecommitdiff
path: root/src/nix/local.mk
blob: e71cf16fabf63591173c41437ecc53d1f7f7875b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
programs += nix

nix_DIR := $(d)

nix_SOURCES := $(wildcard $(d)/*.cc)

nix_LIBS = libexpr libmain libstore libutil libformat

ifeq ($(HAVE_READLINE), 1)
  nix_LDFLAGS += -lreadline
endif

$(eval $(call install-symlink, nix, $(bindir)/nix-hash))