Skip to content
Open
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
36 changes: 18 additions & 18 deletions awsspendsummary.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,31 @@ common deps
library
import: deps
build-depends:
base ^>=4.18.2.1
, amazonka
, amazonka-core
, amazonka-s3
, ansi-terminal
, bytestring
, cassava
, conduit
, containers
, lens
, text
, time
, timelens
, vector
, zlib
base >=4.18.2.1 && <4.19
, amazonka >=2.0 && <2.1
, amazonka-core >=2.0 && <2.1
, amazonka-s3 >= 2.0 && <2.1
, ansi-terminal >= 1.0.2 && <1.2
, bytestring >=0.11.5.3 && <0.13
, cassava >=0.5.3.2 && <0.6
, conduit >=1.3.5 && <1.4
, containers >=0.6.7 && <0.7
, lens >=5.2.3 && <5.4
, text >=2.0.2 && < 2.2
, time >=1.12.2 && < 1.13
, timelens >=0.2.0.2 && <0.3
, vector >=0.13.1.0 && <0.14
, zlib >=0.6.3 && <0.8
exposed-modules: AwsSpendSummary
hs-source-dirs: src

executable awsspendsummary
import: deps
main-is: Main.hs
build-depends:
base ^>=4.18.2.1
base >=4.18.2.1 && <4.19
, awsspendsummary
, text
, optparse-applicative
, text >=2.0.2 && < 2.2
, optparse-applicative >=0.18.1.0 && < 0.19
hs-source-dirs: app

9 changes: 5 additions & 4 deletions flake.lock

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

11 changes: 8 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
description = "awsspendsummary";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

outputs = { self, nixpkgs }:

let pkgs = nixpkgs.legacyPackages.x86_64-linux;
in {

packages.x86_64-linux.default =
packages.x86_64-linux.default = (pkgs.haskell.lib.overrideCabal (

pkgs.haskellPackages.developPackage {
root = ./.;
Expand All @@ -18,7 +18,12 @@
hlint
haskell-language-server
]);
};
}
) {

}).overrideAttrs(old: {
buildInputs = old.buildInputs ++ [ pkgs.zlib ];
});
};
}