aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/local.mk40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/nix/local.mk b/src/nix/local.mk
deleted file mode 100644
index 20ea29d10..000000000
--- a/src/nix/local.mk
+++ /dev/null
@@ -1,40 +0,0 @@
-programs += nix
-
-nix_DIR := $(d)
-
-nix_SOURCES := \
- $(wildcard $(d)/*.cc) \
- $(wildcard src/build-remote/*.cc) \
- $(wildcard src/nix-build/*.cc) \
- $(wildcard src/nix-channel/*.cc) \
- $(wildcard src/nix-collect-garbage/*.cc) \
- $(wildcard src/nix-copy-closure/*.cc) \
- $(wildcard src/nix-daemon/*.cc) \
- $(wildcard src/nix-env/*.cc) \
- $(wildcard src/nix-instantiate/*.cc) \
- $(wildcard src/nix-store/*.cc) \
-
-nix_CXXFLAGS += -I src/libutil -I src/libstore -I src/libfetchers -I src/libexpr -I src/libmain -I src/libcmd -I doc/manual
-
-nix_LIBS = libexpr libmain libfetchers libstore libutil libcmd
-
-nix_LDFLAGS = -pthread $(SODIUM_LIBS) $(EDITLINE_LIBS) $(BOOST_LDFLAGS) $(LOWDOWN_LIBS)
-
-$(foreach name, \
- nix-build nix-channel nix-collect-garbage nix-copy-closure nix-daemon nix-env nix-hash nix-instantiate nix-prefetch-url nix-shell nix-store, \
- $(eval $(call install-symlink, nix, $(bindir)/$(name))))
-$(eval $(call install-symlink, $(bindir)/nix, $(libexecdir)/nix/build-remote))
-
-src/nix-env/user-env.cc: src/nix-env/buildenv.nix.gen.hh
-
-src/nix/develop.cc: src/nix/get-env.sh.gen.hh
-
-src/nix-channel/nix-channel.cc: src/nix-channel/unpack-channel.nix.gen.hh
-
-src/nix/main.cc: doc/manual/generate-manpage.nix.gen.hh doc/manual/utils.nix.gen.hh
-
-src/nix/doc/files/%.md: doc/manual/src/command-ref/files/%.md
- @mkdir -p $$(dirname $@)
- @cp $< $@
-
-src/nix/profile.cc: src/nix/profile.md src/nix/doc/files/profiles.md.gen.hh