fix flake, add translation, add args

This commit is contained in:
Daniel Kauss Serna 2026-02-04 18:55:45 +01:00
parent 2804c90aba
commit e382150986
5 changed files with 250 additions and 60 deletions

View file

@ -10,16 +10,17 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
haskellApp = pkgs.haskellPackages.callCabal2nix "chipburners-club" ./. {
hpkgs = pkgs.haskell.packages.ghc910;
haskellApp = hpkgs.callCabal2nix "chipburners-club" ./. {
inherit (pkgs) zlib zstd;
};
in
{
packages.default = haskellApp;
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
ghc
devShells.default = hpkgs.shellFor {
packages = p: [ haskellApp ];
nativeBuildInputs = with pkgs; [
cabal-install
haskell-language-server
zlib