Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hpack files for dynamic configs and set explicit constraints to help nix users #1043

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions example-configs/yi-all-static/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,24 @@ dependencies:
- microlens-platform
- mtl
- optparse-applicative >= 0.13.0.0
- yi-core
- yi-misc-modes
- yi-mode-haskell
- yi-mode-javascript
- yi-rope
- yi-core >= 0.14
- yi-misc-modes >= 0.14
- yi-mode-haskell >= 0.14
- yi-mode-javascript >= 0.14
- yi-rope >= 0.9

when:
- condition: flag(vty)
dependencies: yi-frontend-vty
dependencies: yi-frontend-vty >= 0.14
cpp-options: -DVTY
- condition: flag(pango)
dependencies: yi-frontend-pango
dependencies: yi-frontend-pango >= 0.14
cpp-options: -DPANGO
- condition: flag(vim)
dependencies: yi-keymap-vim
dependencies: yi-keymap-vim >= 0.14
cpp-options: -DVIM
- condition: flag(emacs)
dependencies: yi-keymap-emacs
dependencies: yi-keymap-emacs >= 0.14
cpp-options: -DEMACS

executables:
Expand Down
22 changes: 11 additions & 11 deletions example-configs/yi-all-static/yi-all-static.cabal
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-- This file has been generated from package.yaml by hpack version 0.17.0.
-- This file has been generated from package.yaml by hpack version 0.18.1.
--
-- see: https://github.com/sol/hpack

name: yi-all-static
version: 0.13.7
version: 0.16.0
category: Yi
homepage: https://github.com/yi-editor/yi#readme
bug-reports: https://github.com/yi-editor/yi/issues
Expand Down Expand Up @@ -46,25 +46,25 @@ executable yi
, microlens-platform
, mtl
, optparse-applicative >= 0.13.0.0
, yi-core
, yi-misc-modes
, yi-mode-haskell
, yi-mode-javascript
, yi-rope
, yi-core >= 0.14
, yi-misc-modes >= 0.14
, yi-mode-haskell >= 0.14
, yi-mode-javascript >= 0.14
, yi-rope >= 0.9
if flag(vty)
cpp-options: -DVTY
build-depends:
yi-frontend-vty
yi-frontend-vty >= 0.14
if flag(pango)
cpp-options: -DPANGO
build-depends:
yi-frontend-pango
yi-frontend-pango >= 0.14
if flag(vim)
cpp-options: -DVIM
build-depends:
yi-keymap-vim
yi-keymap-vim >= 0.14
if flag(emacs)
cpp-options: -DEMACS
build-depends:
yi-keymap-emacs
yi-keymap-emacs >= 0.14
default-language: Haskell2010
23 changes: 23 additions & 0 deletions example-configs/yi-emacs-vty-dynamic/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: yi-emacs-vty-dynamic
version: '0.16.0'
author: Jaro Reinders
maintainer: [email protected]
license: GPL-2
ghc-options:
- -O2
- -threaded
dependencies:
- base >=4.8 && <4.10
- yi-core >=0.14
- yi-dynamic-configuration >=0.14
- yi-keymap-emacs >=0.14
- yi-frontend-vty >=0.14
- yi-mode-haskell >=0.14
- yi-mode-javascript >=0.14
- yi-misc-modes >=0.14
- yi-rope >=0.9
- oo-prototypes
- microlens-platform
executables:
yi:
main: yi.hs
47 changes: 26 additions & 21 deletions example-configs/yi-emacs-vty-dynamic/yi-emacs-vty-dynamic.cabal
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
name: yi-emacs-vty-dynamic
version: 0.1.0.0
license: GPL-2
author: Jaro Reinders
maintainer: [email protected]
build-type: Simple
cabal-version: >=1.10
-- This file has been generated from package.yaml by hpack version 0.18.1.
--
-- see: https://github.com/sol/hpack

name: yi-emacs-vty-dynamic
version: 0.16.0
author: Jaro Reinders
maintainer: [email protected]
license: GPL-2
build-type: Simple
cabal-version: >= 1.10

executable yi
main-is: yi.hs
build-depends: base >=4.8 && <4.10
, yi-core
, yi-dynamic-configuration
, yi-keymap-emacs
, yi-frontend-vty
, yi-mode-haskell
, yi-mode-javascript
, yi-misc-modes
, yi-rope
, oo-prototypes
, microlens-platform
default-language: Haskell2010
ghc-options: -O2 -threaded
main-is: yi.hs
ghc-options: -O2 -threaded
build-depends:
base >=4.8 && <4.10
, yi-core >=0.14
, yi-dynamic-configuration >=0.14
, yi-keymap-emacs >=0.14
, yi-frontend-vty >=0.14
, yi-mode-haskell >=0.14
, yi-mode-javascript >=0.14
, yi-misc-modes >=0.14
, yi-rope >=0.9
, oo-prototypes
, microlens-platform
default-language: Haskell2010
12 changes: 6 additions & 6 deletions example-configs/yi-emacs-vty-static/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ dependencies:
- base >= 4.8 && < 5
- microlens-platform
- mtl
- yi-core
- yi-frontend-vty
- yi-keymap-emacs
- yi-misc-modes
- yi-mode-haskell
- yi-rope
- yi-core >= 0.14
- yi-frontend-vty >= 0.14
- yi-keymap-emacs >= 0.14
- yi-misc-modes >= 0.14
- yi-mode-haskell >= 0.14
- yi-rope >= 0.9

executables:
yi-emacs-vty:
Expand Down
16 changes: 8 additions & 8 deletions example-configs/yi-emacs-vty-static/yi-emacs-vty-static.cabal
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-- This file has been generated from package.yaml by hpack version 0.17.0.
-- This file has been generated from package.yaml by hpack version 0.18.1.
--
-- see: https://github.com/sol/hpack

name: yi-emacs-vty-static
version: 0.13.7
version: 0.16.0
category: Yi
homepage: https://github.com/yi-editor/yi#readme
bug-reports: https://github.com/yi-editor/yi/issues
Expand All @@ -25,10 +25,10 @@ executable yi-emacs-vty
base >= 4.8 && < 5
, microlens-platform
, mtl
, yi-core
, yi-frontend-vty
, yi-keymap-emacs
, yi-misc-modes
, yi-mode-haskell
, yi-rope
, yi-core >= 0.14
, yi-frontend-vty >= 0.14
, yi-keymap-emacs >= 0.14
, yi-misc-modes >= 0.14
, yi-mode-haskell >= 0.14
, yi-rope >= 0.9
default-language: Haskell2010
23 changes: 23 additions & 0 deletions example-configs/yi-vim-colemak-vty-dynamic/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: yi-vim-colemak-vty-dynamic
version: '0.16.0'
author: Jaro Reinders
maintainer: [email protected]
license: GPL-2
ghc-options:
- -O2
- -threaded
dependencies:
- base >=4.8 && <4.10
- yi-core >=0.14
- yi-dynamic-configuration >=0.14
- yi-keymap-vim >=0.14
- yi-frontend-vty >=0.14
- yi-mode-haskell >=0.14
- yi-mode-javascript >=0.14
- yi-misc-modes >=0.14
- yi-rope >=0.9
- oo-prototypes
- microlens-platform
executables:
yi:
main: yi.hs
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
name: yi-vim-colemak-vty-dynamic
version: 0.1.0.0
license: GPL-2
author: Jaro Reinders
maintainer: [email protected]
build-type: Simple
cabal-version: >=1.10
-- This file has been generated from package.yaml by hpack version 0.18.1.
--
-- see: https://github.com/sol/hpack

name: yi-vim-colemak-vty-dynamic
version: 0.16.0
author: Jaro Reinders
maintainer: [email protected]
license: GPL-2
build-type: Simple
cabal-version: >= 1.10

executable yi
main-is: yi.hs
build-depends: base >=4.8 && <4.10
, yi-core
, yi-dynamic-configuration
, yi-keymap-vim
, yi-frontend-vty
, yi-mode-haskell
, yi-mode-javascript
, yi-misc-modes
, yi-rope
, oo-prototypes
, microlens-platform
default-language: Haskell2010
ghc-options: -O2 -threaded
main-is: yi.hs
ghc-options: -O2 -threaded
build-depends:
base >=4.8 && <4.10
, yi-core >=0.14
, yi-dynamic-configuration >=0.14
, yi-keymap-vim >=0.14
, yi-frontend-vty >=0.14
, yi-mode-haskell >=0.14
, yi-mode-javascript >=0.14
, yi-misc-modes >=0.14
, yi-rope >=0.9
, oo-prototypes
, microlens-platform
default-language: Haskell2010
23 changes: 23 additions & 0 deletions example-configs/yi-vim-pango-dynamic/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: yi-vim-pango-dynamic
version: '0.14.0'
author: Jaro Reinders
maintainer: [email protected]
license: GPL-2
ghc-options:
- -O2
- -threaded
dependencies:
- base >=4.8 && <4.10
- yi-core >=0.14
- yi-dynamic-configuration >=0.14 && <0.15
- yi-keymap-vim >=0.14
- yi-frontend-pango >=0.14
- yi-mode-haskell >=0.14
- yi-mode-javascript >=0.14
- yi-misc-modes >=0.14
- yi-rope >=0.9
- oo-prototypes
- microlens-platform
executables:
yi:
main: yi.hs
47 changes: 26 additions & 21 deletions example-configs/yi-vim-pango-dynamic/yi-vim-pango-dynamic.cabal
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
name: yi-vim-pango-dynamic
version: 0.1.0.0
license: GPL-2
author: Jaro Reinders
maintainer: [email protected]
build-type: Simple
cabal-version: >=1.10
-- This file has been generated from package.yaml by hpack version 0.18.1.
--
-- see: https://github.com/sol/hpack

name: yi-vim-pango-dynamic
version: 0.14.0
author: Jaro Reinders
maintainer: [email protected]
license: GPL-2
build-type: Simple
cabal-version: >= 1.10

executable yi
main-is: yi.hs
build-depends: base >=4.8 && <4.10
, yi-core
, yi-dynamic-configuration
, yi-keymap-vim
, yi-frontend-pango
, yi-mode-haskell
, yi-mode-javascript
, yi-misc-modes
, yi-rope
, oo-prototypes
, microlens-platform
default-language: Haskell2010
ghc-options: -O2 -threaded
main-is: yi.hs
ghc-options: -O2 -threaded
build-depends:
base >=4.8 && <4.10
, yi-core >=0.14
, yi-dynamic-configuration >=0.14 && <0.15
, yi-keymap-vim >=0.14
, yi-frontend-pango >=0.14
, yi-mode-haskell >=0.14
, yi-mode-javascript >=0.14
, yi-misc-modes >=0.14
, yi-rope >=0.9
, oo-prototypes
, microlens-platform
default-language: Haskell2010
12 changes: 6 additions & 6 deletions example-configs/yi-vim-pango-static/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ dependencies:
- base >= 4.8 && < 5
- microlens-platform
- mtl
- yi-core
- yi-frontend-pango
- yi-keymap-vim
- yi-misc-modes
- yi-mode-haskell
- yi-rope
- yi-core >= 0.14
- yi-frontend-pango >= 0.14
- yi-keymap-vim >= 0.14
- yi-misc-modes >= 0.14
- yi-mode-haskell >= 0.14
- yi-rope >= 0.9

executables:
yi-vim-pango:
Expand Down
16 changes: 8 additions & 8 deletions example-configs/yi-vim-pango-static/yi-vim-pango-static.cabal
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-- This file has been generated from package.yaml by hpack version 0.17.0.
-- This file has been generated from package.yaml by hpack version 0.18.1.
--
-- see: https://github.com/sol/hpack

name: yi-vim-pango-static
version: 0.13.7
version: 0.16.0
category: Yi
homepage: https://github.com/yi-editor/yi#readme
bug-reports: https://github.com/yi-editor/yi/issues
Expand All @@ -25,10 +25,10 @@ executable yi-vim-pango
base >= 4.8 && < 5
, microlens-platform
, mtl
, yi-core
, yi-frontend-pango
, yi-keymap-vim
, yi-misc-modes
, yi-mode-haskell
, yi-rope
, yi-core >= 0.14
, yi-frontend-pango >= 0.14
, yi-keymap-vim >= 0.14
, yi-misc-modes >= 0.14
, yi-mode-haskell >= 0.14
, yi-rope >= 0.9
default-language: Haskell2010
Loading