[M8] cargoxx-bin installPhase: copy from build/release/bin/ (Phase 1a relocation)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user