aboutsummaryrefslogtreecommitdiff
path: root/src/nix/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-14 11:31:23 +0200
committerGitHub <noreply@github.com>2021-09-14 11:31:23 +0200
commit16d4922dd2057e35ffb1b94ecd9e84d1876c41ba (patch)
tree5ee5789749ba09ebf00db7d2c46255408b912664 /src/nix/local.mk
parent1ca7394a9e41f179716f26db372d59f0c62a283c (diff)
parent49a932fb18add471feefc469fb45fc44313bd5c6 (diff)
Merge pull request #5240 from edolstra/builtin-help
nix --help: Display help using lowdown instead of man
Diffstat (limited to 'src/nix/local.mk')
-rw-r--r--src/nix/local.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix/local.mk b/src/nix/local.mk
index 83b6dd08b..e4ec7634d 100644
--- a/src/nix/local.mk
+++ b/src/nix/local.mk
@@ -14,7 +14,7 @@ nix_SOURCES := \
$(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
+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
@@ -30,3 +30,5 @@ 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