about summary refs log blame commit diff
path: root/src/nix/local.mk
blob: e71cf16fabf63591173c41437ecc53d1f7f7875b (plain) (tree)
1
2
3
4
5
6
7
8







                                                     


                           
 
                                                        
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))