about summary refs log tree commit diff
path: root/src/nix-build/local.mk
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-08-09T10·24-0400
committerShea Levy <shea@shealevy.com>2016-08-09T11·42-0400
commit80ebc553eca19dafc64c47420cd49ddd506bc9b7 (patch)
tree687d4d61d099583ec81cc98bfee10b0bba4fed28 /src/nix-build/local.mk
parenteef754813f5a9d77ceeb0f10981d0a324967dc02 (diff)
nix-build: Port to c++
This was a dumb line-for-line rewrite, because nix build/nix run/etc.
will replace it.
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))