ncdeck/flake.nix

34 lines
610 B
Nix
Raw Normal View History

2024-04-25 22:21:55 +02:00
{
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
];
});
};
}