diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2022-06-02 13:52:08 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2022-06-06 13:26:51 +0200 |
commit | 143141726e6c1b3f1170e9f4e971700e30d74375 (patch) | |
tree | ccb5ca5f990d2baa939e7d1ed958829fb6a246dd /tests/hackage.scm | |
parent | dedfcaa8e2b948124f76121b9062c827fe649e29 (diff) | |
download | guix-143141726e6c1b3f1170e9f4e971700e30d74375.tar.gz |
import: hackage: Filter upper/mixed case dependencies too.
* guix/import/hackage.scm (filter-dependencies): Convert OWN-NAMES to lowercase before filtering. (hackage-module->sexp): Remove #f from OWN-NAMES, which is used for unnamed (default) libraries. * tests/hackage.scm (test-cabal-internal-library-ignored): Add mismatched uppercase letters.
Diffstat (limited to 'tests/hackage.scm')
-rw-r--r-- | tests/hackage.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/hackage.scm b/tests/hackage.scm index a11dd14846..ad2ee4b7f9 100644 --- a/tests/hackage.scm +++ b/tests/hackage.scm @@ -368,7 +368,8 @@ executable cabal (test-assert "hackage->guix-package test without final newline" (eval-test-with-cabal test-cabal-no-final-newline match-ghc-foo)) -;; Make sure internal libraries will not be part of the dependencies. +;; Make sure internal libraries will not be part of the dependencies, +;; ignore case. (define test-cabal-internal-library-ignored "name: foo version: 1.0.0 @@ -379,8 +380,8 @@ license: BSD3 executable cabal build-depends: HTTP >= 4000.2.5 && < 4000.3, - internal -library internal + internAl +library internaL build-depends: mtl >= 2.0 && < 3 ") |