diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-06-20 16:27:42 +0200 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-06-20 16:27:42 +0200 |
| commit | 519956797d905c0925b8dd418ceb17c7495ad30a (patch) | |
| tree | 5a26d1b6df1ddce517a47d3105761820b29a8953 /flake.nix | |
| parent | 1af3d14f3f995645a0de08a54b244c19840709e9 (diff) | |
set up haskell bindings for c lib
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -15,10 +15,18 @@ let pkgs = import nixpkgs { inherit system; }; haskell = pkgs.haskellPackages.ghcWithPackages (p: - with p; [ haskell-language-server ]); + with p; [ haskell-language-server haskell-gi-base gi-gtk4 ]); haskell-shell = pkgs.mkShell { name = "Haskell"; - packages = [ haskell pkgs.gdb pkgs.pkg-config pkgs.cabal-install ]; + packages = [ + haskell + pkgs.gdb + pkgs.pkg-config + pkgs.cabal-install + pkgs.meson + pkgs.ninja + pkgs.gobject-introspection + ]; hardeningDisable = [ "fortify" ]; }; foobar = (pkgs.callPackage ./nix/package.nix {}); |
