gnu: mold: Update to 1.10.1.
* gnu/packages/mold.scm (mold): Update to 1.10.1. [arguments]: Adjust substitution in custom 'force-system-xxhash phase.
parent
fe3121d651
commit
47439697ae
|
@ -34,7 +34,7 @@
|
||||||
(define-public mold
|
(define-public mold
|
||||||
(package
|
(package
|
||||||
(name "mold")
|
(name "mold")
|
||||||
(version "1.9.0")
|
(version "1.10.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "03qkl9qw5l5kg1awij40hcrfxq6jj70mvq4iscdy9dsn8qw8r3wb"))
|
(base32 "1bqv1a93n3nks38k8fdc5i7v7ca2sav8n4xxaph0ikaqw1mkjcg7"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
#~(begin
|
||||||
|
@ -60,8 +60,8 @@
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'configure 'force-system-xxhash
|
(add-before 'configure 'force-system-xxhash
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "mold.h"
|
(substitute* "common/common.h"
|
||||||
(("#include \"third-party/xxhash/xxhash.h\"")
|
(("#include \"../third-party/xxhash/xxhash.h\"")
|
||||||
"#include <xxhash.h>"))))
|
"#include <xxhash.h>"))))
|
||||||
(add-before 'configure 'fix-compiler-name-in-test
|
(add-before 'configure 'fix-compiler-name-in-test
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in New Issue