summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
committerHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
commit1af3d14f3f995645a0de08a54b244c19840709e9 (patch)
tree3c4098863d8a8fd004a2acc8912a23b6036ab4dd /flake.nix
parent40efcf60a5f39674b5137f11de7bcfe37fb121b5 (diff)
init hs project
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b63d871..a094789 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,6 +14,13 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
+ haskell = pkgs.haskellPackages.ghcWithPackages (p:
+ with p; [ haskell-language-server ]);
+ haskell-shell = pkgs.mkShell {
+ name = "Haskell";
+ packages = [ haskell pkgs.gdb pkgs.pkg-config pkgs.cabal-install ];
+ hardeningDisable = [ "fortify" ];
+ };
foobar = (pkgs.callPackage ./nix/package.nix {});
in
{
@@ -33,6 +40,7 @@
inputsFrom = [ foobar ];
hardeningDisable = [ "fortify" ];
};
+ haskell = haskell-shell;
};
});
}