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.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nix/local.mk b/src/nix/local.mk
new file mode 100644
index 000000000..f6e7073b6
--- /dev/null
+++ b/src/nix/local.mk
@@ -0,0 +1,9 @@
+programs += nix
+
+nix_DIR := $(d)
+
+nix_SOURCES := $(wildcard $(d)/*.cc)
+
+nix_LIBS = libexpr libmain libstore libutil libformat
+
+$(eval $(call install-symlink, nix, $(bindir)/nix-hash))