(zilch lang rust): call yj inside nix

Change-Id: I3bc75045534ef524ca2a8a2df290e2876a6a6964
This commit is contained in:
puck 2025-11-12 11:14:31 +00:00
parent d97a24bf1a
commit edbdf48a5a
3 changed files with 20 additions and 21 deletions

View file

@ -15,7 +15,6 @@
xxd
];
overrides.NIX_CFLAGS_COMPILE = "-DYJ_PATH=\"${yj}/bin/yj\"";
overrides.preBuild = ''
(cat ${./helpers/src/bin/buildscript-runner.rs}; printf '\0') | xxd -i -n runner_source > runner_source.h
(cat ${./helpers/src/bin/rustc-wrapper.rs}; printf '\0') | xxd -i -n rustc_wrap_source > rustc_wrap_source.h