Skip to content

Commit

Permalink
flake.nix: add
Browse files Browse the repository at this point in the history
  • Loading branch information
endgame committed Mar 15, 2024
1 parent 214e8c6 commit 83a6034
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
inputs = {
bellroy-nix-foss = {
url = "github:bellroy/bellroy-nix-foss";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:nixos/nixpkgs";
};

outputs = inputs:
inputs.bellroy-nix-foss.lib.haskellProject {
cabalPackages = [
{
name = "servant-activeresource";
path = ./servant-activeresource.nix;
}
];
supportedCompilers = [ "ghc8107" "ghc92" "ghc94" ];
defaultCompiler = "ghc92";
# haskellPackagesOverride = { compilerName, haskellLib, final, prev }:
# if compilerName == "ghc94"
# then {
# # hal doesn't support newer hedgehog
# hedgehog = haskellLib.compose.dontCheck (prev.callHackage "hedgehog" "1.1.2" { });
# }
# else { };
};
}

0 comments on commit 83a6034

Please sign in to comment.