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:
parent
378d2c5dce
commit
72a893c9d0
1 changed files with 2 additions and 11 deletions
|
@ -1,6 +1,5 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, lib
|
||||
, autoPatchelfHook
|
||||
, cmake
|
||||
|
@ -12,23 +11,15 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mold";
|
||||
version = "0.9.3";
|
||||
version = "0.9.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rui314";
|
||||
repo = pname;
|
||||
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 ];
|
||||
nativeBuildInputs = [ autoPatchelfHook cmake xxHash ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue