forked from jkarni/github-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
25 lines (25 loc) · 846 Bytes
/
flake.nix
File metadata and controls
25 lines (25 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/25.11";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import "${nixpkgs}" { inherit system; };
in {
packages.default = pkgs.haskell.packages.ghc967.callCabal2nix
"github-app" ./.
{ };
devShells.default = pkgs.mkShell {
nativeBuildInputs = [
pkgs.ghcid
pkgs.cabal-install
pkgs.hpack
(pkgs.haskell.packages.ghc967.ghc.withPackages (p:
self.packages.${system}.default.getBuildInputs.haskellBuildInputs
))
(pkgs.haskell-language-server.override {
supportedGhcVersions = [ "967" ];
})
];
};
});
}