diff --git a/.build.yml b/.build.yml index 680d514..95be472 100644 --- a/.build.yml +++ b/.build.yml @@ -9,7 +9,7 @@ tasks: echo 'source $HOME/.nix-profile/etc/profile.d/nix.sh' >> $HOME/.buildenv - build: | cd remote-party-finder/server - nix-shell --command 'cargo build --release' + nix-shell --command 'cargo build --release --target x86_64-unknown-linux-musl' strip -s target/release/remote-party-finder nix-shell --command 'patchelf --remove-rpath --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 target/release/remote-party-finder' artifacts: