mold: 0.9.3 -> 0.9.6 (#139920)

* mold: 0.9.3 -> 0.9.6

* Update pkgs/development/tools/mold/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
jakobrs 2021-10-01 11:20:07 +02:00 committed by GitHub
parent 378d2c5dce
commit 72a893c9d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,5 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, lib , lib
, autoPatchelfHook , autoPatchelfHook
, cmake , cmake
@ -12,23 +11,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mold"; pname = "mold";
version = "0.9.3"; version = "0.9.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rui314"; owner = "rui314";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256:1z9i8nvdl9h0zydh1gd9244q96n9x1gh5y90m71bghnh7nws0zmd"; sha256 = "0mj258fy8l4i23jd6ail0xrrq3das7lmrf1brrr1591ahx4vjj14";
}; };
patches = [
# Intercept all invocations of ld, ld.gold or ld.lld
(fetchpatch {
url = "https://github.com/rui314/mold/commit/d25c2553ad3cfa39d99043927db1af2c028b5acf.patch";
sha256 = "1ic1dyvjcrj6834n6mw9id50l6nymrfn6hws6pjpy8gjk6mqfvnk";
})
];
buildInputs = [ zlib openssl ]; buildInputs = [ zlib openssl ];
nativeBuildInputs = [ autoPatchelfHook cmake xxHash ]; nativeBuildInputs = [ autoPatchelfHook cmake xxHash ];