mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-12 14:07:42 +00:00
build: get rid of the overzealous build script; leave symlinking to packagers
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I39c590f0a703ab71d3cb5a8df9b095a46a6a6964
This commit is contained in:
parent
77ac70f0d3
commit
9702e67599
2 changed files with 2 additions and 66 deletions
|
|
@ -4,6 +4,7 @@
|
|||
stdenv,
|
||||
mold,
|
||||
versionCheckHook,
|
||||
useMold ? stdenv.isLinux,
|
||||
createSymlinks ? true,
|
||||
}: let
|
||||
pname = "stash";
|
||||
|
|
@ -55,7 +56,7 @@ in
|
|||
done
|
||||
'';
|
||||
|
||||
env = lib.optionalAttrs (stdenv.isLinux && !stdenv.hostPlatform.isAarch) {
|
||||
env = lib.optionalAttrs useMold {
|
||||
CARGO_LINKER = "clang";
|
||||
CARGO_RUSTFLAGS = "-Clink-arg=-fuse-ld=${mold}/bin/mold";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue