mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-26 14:00:51 +00:00
nix: overwrite, don't append, to $RUSTFLAGS
This matches the behavior of the actual `nix build` more closely, and might also help Anton, since he was debugging some recompilation issues on his machine, where `RUSTFLAGS` might have become inconsistent due to VS Code. Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
f97e929cbf
commit
c32b68eb83
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@
|
|||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
'' + pkgs.lib.optionalString useMoldLinker ''
|
||||
export RUSTFLAGS="-C link-arg=-fuse-ld=mold $RUSTFLAGS"
|
||||
export RUSTFLAGS="-C link-arg=-fuse-ld=mold"
|
||||
'';
|
||||
};
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue