aboutsummaryrefslogtreecommitdiff
path: root/src/nix/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-13 14:41:28 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-09-13 14:45:21 +0200
commit49a932fb18add471feefc469fb45fc44313bd5c6 (patch)
tree716a8abc8682f190b22d1b2fecb4ed45bb87ae55 /src/nix/local.mk
parent14205debb244b925d685e3645c4deef937fa78ec (diff)
nix --help: Display help using lowdown instead of man
Fixes #4476. Fixes #5231.
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