[M8] cargoxx-bin installPhase: copy from build/release/bin/ (Phase 1a relocation)

This commit is contained in:
2026-05-18 18:54:41 +00:00
parent 3138e78f47
commit f9932a3ad9

View File

@@ -48,7 +48,10 @@
'';
installPhase = ''
mkdir -p $out/bin
cp build/release/cargoxx $out/bin/
# Codegen since Phase 1a routes every executable through
# RUNTIME_OUTPUT_DIRECTORY=${"$"}{CMAKE_BINARY_DIR}/bin, so
# the binary lives at build/release/bin/cargoxx.
cp build/release/bin/cargoxx $out/bin/
wrapProgram $out/bin/cargoxx \
--prefix PATH : ${cargoxxRuntimePath} \
--set-default NIX_CONFIG ${pkgs.lib.escapeShellArg cargoxxNixConfig}