fix: append config correctly

This commit is contained in:
Yusuf Bera Ertan 2022-09-02 15:52:42 +03:00
parent c6bac19fe4
commit 32d0da0539
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -68,11 +68,11 @@
''; '';
configMoldLinker = '' configMoldLinker = ''
echo " cat >>$CARGO_HOME/config.toml <<EOF
[target.x86_64-unknown-linux-gnu] [target.x86_64-unknown-linux-gnu]
linker = "clang" linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=${lib.getExe pkgs.mold}"] rustflags = ["-C", "link-arg=-fuse-ld=${lib.getExe pkgs.mold}"]
" >> $CARGO_HOME/config.toml EOF
''; '';
in { in {
veloren-common = oldAttrs: { veloren-common = oldAttrs: {