mold: add trivial updater
This commit is contained in:
parent
bf967e3cd0
commit
a1cf620871
@ -7,6 +7,7 @@
|
|||||||
, xxHash
|
, xxHash
|
||||||
, zlib
|
, zlib
|
||||||
, openssl
|
, openssl
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -29,6 +30,12 @@ stdenv.mkDerivation rec {
|
|||||||
LTO = 1;
|
LTO = 1;
|
||||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A high performance drop-in replacement for existing unix linkers";
|
description = "A high performance drop-in replacement for existing unix linkers";
|
||||||
homepage = "https://github.com/rui314/mold";
|
homepage = "https://github.com/rui314/mold";
|
||||||
|
Loading…
Reference in New Issue
Block a user