summaryrefslogtreecommitdiff
path: root/src/supple_paths.h.in
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2017-07-09 14:45:34 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-07-20 19:37:15 +0100
commit43b72e84b40d68efe1d8395c31d5ab83f58501c7 (patch)
tree35374edf536a53ed667da9b69b8be93cd7489cae /src/supple_paths.h.in
parent23e7a95e20c932ef685dadd3a70acbe3544b1e53 (diff)
downloadsupple-43b72e84b40d68efe1d8395c31d5ab83f58501c7.tar.gz
Allow baking of LUA_PATH and LUA_CPATH env vars
These vars get unset for security reasons, but on NixOS these vars are needed to determine the location of dependent libs, since they're not available in their usual fhs positions.
Diffstat (limited to 'src/supple_paths.h.in')
-rw-r--r--src/supple_paths.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/supple_paths.h.in b/src/supple_paths.h.in
new file mode 100644
index 0000000..7ed0b0b
--- /dev/null
+++ b/src/supple_paths.h.in
@@ -0,0 +1,3 @@
+
+#define SUPPLE_LUA_PATH "@@SUPPLE_LUA_PATH@@"
+#define SUPPLE_LUA_CPATH "@@SUPPLE_LUA_CPATH@@"