forked from mirrors/nixpkgs
notmuch: fix version wildcard
talloc is now 2.1.11 and the find '?' only matches one digit so it fails on 11. This switches it to use the '*' wildcard.
This commit is contained in:
parent
8c280d3ad5
commit
ac4ffde5ab
|
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
|||
[[ -s "$lib" ]] || die "couldn't find libnotmuch"
|
||||
|
||||
badname="$(otool -L "$prg" | awk '$1 ~ /libtalloc/ { print $1 }')"
|
||||
goodname="$(find "${talloc}/lib" -name 'libtalloc.?.?.?.dylib')"
|
||||
goodname="$(find "${talloc}/lib" -name 'libtalloc.*.*.*.dylib')"
|
||||
|
||||
[[ -n "$badname" ]] || die "couldn't find libtalloc reference in binary"
|
||||
[[ -n "$goodname" ]] || die "couldn't find libtalloc in nix store"
|
||||
|
|
Loading…
Reference in a new issue