34 lines
610 B
Nix
34 lines
610 B
Nix
|
{
|
||
|
description = "Databetics ";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
||
|
};
|
||
|
|
||
|
outputs = {
|
||
|
self,
|
||
|
nixpkgs,
|
||
|
...
|
||
|
}: let
|
||
|
supportedSystems = [
|
||
|
"x86_64-linux"
|
||
|
];
|
||
|
|
||
|
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: f system);
|
||
|
in {
|
||
|
devShell = forAllSystems (system: let
|
||
|
overlays = [];
|
||
|
pkgs = import nixpkgs {inherit system overlays;};
|
||
|
in
|
||
|
pkgs.mkShell {
|
||
|
buildInputs = [
|
||
|
pkgs.ghc
|
||
|
pkgs.cabal-install
|
||
|
pkgs.haskell-language-server
|
||
|
pkgs.zlib
|
||
|
];
|
||
|
});
|
||
|
};
|
||
|
}
|
||
|
|