Skip to content

Commit

Permalink
version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Sep 20, 2023
1 parent ba1477d commit 1cd8f35
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
6 changes: 4 additions & 2 deletions Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is a default setup script except that it checks that all
transitive dependencies of this package use free licenses and
generates a Build module detailing the versions of build tools
and transitive library dependencies.
-}

module Main (main) where
Expand Down Expand Up @@ -98,10 +98,12 @@ validateLicenses ::
validateLicenses pkgs =
do let toLicense = either licenseFromSPDX id
isBad pkg = toLicense (license pkg) `notElem` freeLicenses
&& pkgName (sourcePackageId pkg) `notElem` exemptions
badPkgs = filter isBad pkgs
exemptions = [mkPackageName "system-cxx-std-lib"]

unless (null badPkgs) $
do mapM_ print [ toLicense (license pkg) | pkg <- badPkgs ]
do mapM_ print [ (sourcePackageId pkg, toLicense (license pkg)) | pkg <- badPkgs ]
fail "BAD LICENSE"


Expand Down
4 changes: 2 additions & 2 deletions bot/irc-core-bot.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ executable irc-core-bot

build-depends:
base >=4.9 && <4.19,
bytestring >=0.10 && <0.12,
bytestring >=0.10 && <0.13,
hookup ^>=0.8,
irc-core ^>=2.11,
random >=1.1 && <1.3,
text >=1.2 && <2.1,
text >=1.2 && <2.2,
containers ^>=0.6,
2 changes: 1 addition & 1 deletion config-schema
Submodule config-schema updated 1 files
+1 −1 config-value
2 changes: 1 addition & 1 deletion config-value
2 changes: 1 addition & 1 deletion hookup/hookup.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ library
async ^>=2.2,
stm ^>=2.5,
network >=3.0 && <3.2,
bytestring >=0.10 && <0.12,
bytestring >=0.10 && <0.13,
attoparsec ^>=0.14,
HsOpenSSL >=0.11.2.3 && <0.12,
HsOpenSSL-x509-system >=0.1 && <0.2,
4 changes: 2 additions & 2 deletions lib/irc-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ library
build-depends: base >=4.11 && <4.19,
base64-bytestring >= 1.0.0.1 && <1.3,
attoparsec ^>=0.14,
bytestring >=0.10 && <0.12,
bytestring >=0.10 && <0.13,
hashable >=1.2 && <1.5,
primitive >=0.6 && <0.9,
text >=1.2 && <2.1,
text >=1.2 && <2.2,
time >=1.6 && <1.13,
vector >=0.11 && <0.14

Expand Down
2 changes: 1 addition & 1 deletion src/Client/Commands/Queries.hs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ cmdWho cs st (Just (query, arg)) =
let query' = Text.pack query
let arg' = fromMaybe "" arg
let cs' = set csWhoReply (newWhoReply query' arg') cs
sendMsg cs (ircWho (query' : (maybeToList $ Text.pack <$> arg)))
sendMsg cs (ircWho (query' : maybeToList (Text.pack <$> arg)))
commandSuccessUpdateCS cs' (changeSubfocus FocusWho st)

cmdWhowas :: NetworkCommand String
Expand Down

0 comments on commit 1cd8f35

Please sign in to comment.