Skip to content

Commit

Permalink
Merge pull request #211 from DougBurke/bump-ihaskell-0.12
Browse files Browse the repository at this point in the history
Bump ihaskell 0.12
  • Loading branch information
DougBurke authored Jan 1, 2025
2 parents 0b182e5 + 9896e03 commit f7058f1
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hvega-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
cabal: ["latest"]

os: [ubuntu-latest]
ghc-version: ["9.10", "9.8", "9.6", "9.4"]
ghc: ["9.10", "9.8", "9.6", "9.4"]

include:
- os: macOS-latest
ghc-version: '9.6'
ghc: '9.6'
- os: windows-latest
ghc-version: '9.6'
ghc: '9.6'

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions ihaskell-hvega/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
For the latest version of this document, please see
[https://github.com/DougBurke/hvega/blob/master/ihaskell-hvega/CHANGELOG.md](https://github.com/DougBurke/hvega/blob/master/ihaskell-hvega/CHANGELOG.md).

## 0.5.0.6

Allow building with IHaskell 0.12 (still not managed to get my
setup working so I haven't been able to actually test this).

## 0.5.0.5

Support text 2.1 and IHaskell 0.11 (I am still not using IHaskell
Expand Down
6 changes: 3 additions & 3 deletions ihaskell-hvega/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 14 additions & 6 deletions ihaskell-hvega/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,30 @@
});
defaultPackage = forAllSystems (system: self.packages.${system}.ihaskell-hvega);
checks = self.packages;
devShell = forAllSystems (system: let haskellPackages = nixpkgsFor.${system}.haskellPackages;
devShell = forAllSystems (system:
let haskellPackages = nixpkgsFor.${system}.haskellPackages;
hPackages = with haskellPackages; [
# haskell-language-server
hlint
cabal-install
];
pPackages = nixpkgsFor.${system}.python3.withPackages (
ps: with ps; [
ipython
jupyter
]);
in haskellPackages.shellFor {
packages = p: [self.packages.${system}.ihaskell-hvega];
# withHoogle = true;
withHoogle = false;
buildInputs = with haskellPackages; [
haskell-language-server
hlint
cabal-install
];
buildInputs = hPackages ++ [pPackages];
# Change the prompt to show that you are in a devShell
shellHook = ''
echo -e "*** \e[1;32mWelcome to ihaskell-hvega\e[0m ***"
ghc --version
cabal --version
hlint --version
jupyter --version
echo -e ""
export PS1='ihaskell-hvega:\A \e[1;34m\w\e[0m '
'';
Expand Down
4 changes: 2 additions & 2 deletions ihaskell-hvega/ihaskell-hvega.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ihaskell-hvega
version: 0.5.0.5
version: 0.5.0.6
synopsis: IHaskell display instance for hvega types.
description: Support Vega-Lite visualizations in IHaskell notebooks.
homepage: https://github.com/DougBurke/hvega
Expand All @@ -8,7 +8,7 @@ license: BSD3
license-file: LICENSE
author: Douglas Burke
maintainer: dburke.gw@gmail.com
copyright: 2018-2023 Douglas Burke
copyright: 2018-2025 Douglas Burke
category: Development
build-type: Simple
extra-source-files: README.md
Expand Down

0 comments on commit f7058f1

Please sign in to comment.