3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #156970 from trofi/mold-updater

mold: add trivial updater
This commit is contained in:
Bobby Rong 2022-01-27 17:23:13 +08:00 committed by GitHub
commit a7bf30e87e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
, xxHash
, zlib
, openssl
, nix-update-script
}:
stdenv.mkDerivation rec {
@ -29,6 +30,12 @@ stdenv.mkDerivation rec {
LTO = 1;
makeFlags = [ "PREFIX=${placeholder "out"}" ];
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
description = "A high performance drop-in replacement for existing unix linkers";
homepage = "https://github.com/rui314/mold";