Skip to content

Commit

Permalink
updating ghc version and adding shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
travgm committed Nov 20, 2024
1 parent 136109e commit 7397ae3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dclock.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ library
exposed-modules: DecimalTime,
PrettyPrinter,
Types
build-depends: base ^>=4.17.2.1,
build-depends: base >=4.17 && < 4.21,
time ^>=1.14,
lens ^>= 5.2.1,
text ^>= 2.1.1,
Expand All @@ -39,7 +39,7 @@ executable dclock

main-is: Main.hs

build-depends: base ^>=4.17.2.1,
build-depends: base >=4.17 && < 4.21,
dclock,
time ^>=1.14,
machines ^>= 0.7.2,
Expand All @@ -64,4 +64,4 @@ test-suite dclock-test
other-modules: DecimalTimeSpec,
PrettyPrinterSpec
build-tool-depends: hspec-discover:hspec-discover
default-language: Haskell2010
default-language: Haskell2010
7 changes: 7 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
pkgs.ghc
pkgs.cabal-install
];
}

0 comments on commit 7397ae3

Please sign in to comment.