about summary refs log tree commit diff
path: root/src/nix-build/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-build/local.mk')
-rw-r--r--src/nix-build/local.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nix-build/local.mk b/src/nix-build/local.mk
new file mode 100644
index 000000000000..91532411a505
--- /dev/null
+++ b/src/nix-build/local.mk
@@ -0,0 +1,9 @@
+programs += nix-build
+
+nix-build_DIR := $(d)
+
+nix-build_SOURCES := $(d)/nix-build.cc
+
+nix-build_LIBS = libmain libstore libutil libformat
+
+$(eval $(call install-symlink, nix-build, $(bindir)/nix-shell))