Merge pull request #34577 from matthewbauer/patch-8

notmuch: fix version wildcard
This commit is contained in:
Daiderd Jordan
2018-02-07 20:16:45 +01:00
committed by GitHub

View File

@@ -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"