aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-14 07:10:03 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-14 07:10:03 +0100
commit11284c7c12c44e12de1cfc712c0391d5ee32a9f2 (patch)
tree553a527ff19f5ef105cbc2f026284e75fa5900db /default.nix
parentc8ab97e77c8ab56b9835d9f260dc222a10e9b3c6 (diff)
parent09e26c37de7e7227d856ffe15c9554af36b50c58 (diff)
Merge remote-tracking branch 'origin/feature/review'main
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index 758626b..4caf76a 100644
--- a/default.nix
+++ b/default.nix
@@ -1,4 +1,4 @@
-{ pkgs ? import <nixpkgs> {
+{ pkgs ? import (import ./nix/sources.nix).nixpkgs {
overlays = [
(self: super: {
tree-sitter = super.tree-sitter.overrideAttrs (oldAttrs: {
@@ -44,7 +44,10 @@ let
haskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
- lingo = pkgs.haskell.lib.doJailbreak (pkgs.haskell.lib.markUnbroken super.lingo);
+ diff-parse = pkgs.haskell.lib.appendPatch super.diff-parse
+ ./diff-parse.patch;
+ lingo = pkgs.haskell.lib.doJailbreak
+ (pkgs.haskell.lib.markUnbroken super.lingo);
anissue = (super.callCabal2nix "anissue" ./. ({
inherit (pkgs) tree-sitter;
} // pkgs.lib.filterAttrs (_: pkgs.lib.isDerivation)
@@ -56,6 +59,7 @@ let
dependencies = [
pkgs.coreutils
pkgs.git
+ pkgs.patchutils
];
};
postInstall = ''