Package Details: klfc 1.5.5-5

Git Clone URL: https://aur.archlinux.org/klfc.git (read-only, click to copy)
Package Base: klfc
Description: Tool to create advanced keyboard layouts in various formats
Upstream URL: https://github.com/39aldo39/klfc
Keywords: keyboard keylayout klc layout pkl tmk xkb
Licenses: GPL3
Submitter: 39aldo39
Maintainer: 39aldo39 (HaoZeke)
Last Packager: HaoZeke
Votes: 2
Popularity: 0.000000
First Submitted: 2017-06-30 18:52 (UTC)
Last Updated: 2023-07-30 02:33 (UTC)

Latest Comments

dreieck commented on 2023-10-25 10:34 (UTC)

Fails to build for me with

    • Couldn't match type: Data.Aeson.KeyMap.KeyMap Value
                     with: Data.HashMap.Internal.HashMap T.Text Value
Building executable 'klfc' for keyboard-layout-files-creator-1.5.5..
[ 4 of 40] Compiling JsonPretty       ( src/JsonPretty.hs, dist/build/klfc/klfc-tmp/JsonPretty.o )

src/JsonPretty.hs:139:91: error:
    • Couldn't match type: Data.Aeson.KeyMap.KeyMap Value
                     with: Data.HashMap.Internal.HashMap T.Text Value
      Expected: Data.HashMap.Internal.HashMap T.Text Value
        Actual: aeson-2.1.2.1:Data.Aeson.Types.Internal.Object
    • In the first argument of ‘H.toList’, namely ‘m’
      In the first argument of ‘pstSort’, namely ‘(H.toList m)’
      In the fifth argument of ‘fromCompound’, namely
        ‘(pstSort (H.toList m))’
    |
139 |     go (Object m) = fromCompound st ("{","}") delim (fromPair delims') (pstSort (H.toList m))
    |                                                                                           ^
[ 5 of 40] Compiling Util             ( src/Util.hs, dist/build/klfc/klfc-tmp/Util.o )

src/Util.hs:74:15: error:
    • Couldn't match type: Data.Aeson.KeyMap.KeyMap Value
                     with: H.HashMap T.Text v0
      Expected: H.HashMap T.Text v0
        Actual: Object
    • In the first argument of ‘H.keys’, namely ‘o’
      In the first argument of ‘(∖)’, namely ‘H.keys o’
      In the expression: H.keys o ∖ xs
   |
74 |   case H.keys o ∖ xs of
   |               ^

src/Util.hs:83:20: error:
    • Couldn't match type ‘γ0’
                     with ‘(Maybe α -> σ0 -> σ0) -> (σ0 -> Maybe α) -> Lens' σ0 α’
      Expected: (σ0 -> α) -> γ0
        Actual: (σ0 -> α)
                -> (Maybe α -> σ0 -> σ0) -> (σ0 -> Maybe α) -> Lens' σ0 α
      Cannot instantiate unification variable ‘γ0’
      with a type involving polytypes:
        (Maybe α -> σ0 -> σ0) -> (σ0 -> Maybe α) -> Lens' σ0 α
    • In the first argument of ‘(∘)’, namely ‘lensWithDefault’
      In the expression: lensWithDefault ∘ const
      In an equation for ‘lensWithDefault'’:
          lensWithDefault' = lensWithDefault ∘ const
    • Relevant bindings include
        lensWithDefault' :: α
                            -> (Maybe α -> σ -> σ) -> (σ -> Maybe α) -> Lens' σ α
          (bound at src/Util.hs:83:1)
   |
83 | lensWithDefault' = lensWithDefault ∘ const
   |                    ^^^^^^^^^^^^^^^

src/Util.hs:83:20: error:
    • Couldn't match type ‘γ0’
                     with ‘(Maybe α -> σ -> σ) -> (σ -> Maybe α) -> Lens' σ α’
      Expected: α -> (Maybe α -> σ -> σ) -> (σ -> Maybe α) -> Lens' σ α
        Actual: α -> γ0
      Cannot instantiate unification variable ‘γ0’
      with a type involving polytypes:
        (Maybe α -> σ -> σ) -> (σ -> Maybe α) -> Lens' σ α
    • In the expression: lensWithDefault ∘ const
      In an equation for ‘lensWithDefault'’:
          lensWithDefault' = lensWithDefault ∘ const
    • Relevant bindings include
        lensWithDefault' :: α
                            -> (Maybe α -> σ -> σ) -> (σ -> Maybe α) -> Lens' σ α
          (bound at src/Util.hs:83:1)
   |
83 | lensWithDefault' = lensWithDefault ∘ const
   |                    ^^^^^^^^^^^^^^^^^^^^^^^

Regards!

dreieck commented on 2019-07-21 20:00 (UTC)

Makedependency on ghc is missing:

cabal: The program 'ghc' version >=7.0.1 is required but it could not be found.

After manual installation of ghc it builds.