build(nix): use release path for commands lib output

This commit is contained in:
dusk 2025-01-04 00:38:51 +09:00
parent 313261e46e
commit 6a0c8fdc26
No known key found for this signature in database

View file

@ -104,7 +104,7 @@
text = ''
set -x
[ "''${1:-}" == "" ] && cargo build --package commands --release
uniffi-bindgen-cs "''${1:-target/debug/libcommands.so}" --library --out-dir="''${2:-./PluralKit.Bot}"
uniffi-bindgen-cs "''${1:-target/release/libcommands.so}" --library --out-dir="''${2:-./PluralKit.Bot}"
'';
};
};