Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-25 20:56:52 +0200
committerErich Eckner <git@eckner.net>2020-06-25 20:56:52 +0200
commit51fc6645424bdbc26e22651dc142787c27ca0ea4 (patch)
treecd1667d7697e7e294a5b50cfe3d33686a5ed1466 /bin/return-assignment
parentc315306a30fa5d6a52f40daa2047ccff144a60be (diff)
bin/return-assignment: recognize more haskell errors
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 3b96fec..9b4ed56 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -334,6 +334,8 @@ if [ "$6" = 'ERROR' ]; then
t
s@^.*Bad interface file: /usr/lib/ghc-[0-9.]\+/site-local/\([^/]\+\)-[0-9.]\+/.*$@\1@
t
+ s@^\s*It is a member of the package ‘\(\S\+\)\(-[^-]\+\)\{2\}’\s*$@\1@
+ t
d
' | \
tr ' ' '\n' | \