mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix: append config correctly
This commit is contained in:
parent
c6bac19fe4
commit
32d0da0539
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user