diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-12-18 07:38:22 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-12-18 07:38:24 +0100 |
commit | c8ab97e77c8ab56b9835d9f260dc222a10e9b3c6 (patch) | |
tree | edeffd14127196b19e6205ba71b4abe3d0e00a09 /default.nix | |
parent | 4fe90ed3e41fb54a65e203719824d0fcf272909f (diff) |
feat: add support for c, elm, nix, shell
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/default.nix b/default.nix index 9667ef6..758626b 100644 --- a/default.nix +++ b/default.nix @@ -44,10 +44,12 @@ let haskellPackages = pkgs.haskellPackages.override { overrides = self: super: { - anissue = (super.callCabal2nix "anissue" ./. { + lingo = pkgs.haskell.lib.doJailbreak (pkgs.haskell.lib.markUnbroken super.lingo); + anissue = (super.callCabal2nix "anissue" ./. ({ inherit (pkgs) tree-sitter; - inherit (pkgs.tree-sitter-grammars) tree-sitter-haskell; - }).overrideAttrs (oldAttrs: rec { + } // pkgs.lib.filterAttrs (_: pkgs.lib.isDerivation) + pkgs.tree-sitter-grammars + )).overrideAttrs (oldAttrs: rec { nativeBuildInputs = [ pkgs.installShellFiles ]; buildInputs = oldAttrs.buildInputs or [ ] ++ [ pkgs.makeWrapper ]; passthru = oldAttrs.passthru // { @@ -74,6 +76,7 @@ in rec { inherit (haskellPackages) anissue; + inherit (pkgs) tree-sitter-grammars; shell = haskellPackages.shellFor { packages = _: [ anissue ]; buildInputs = [ |