summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2020-06-22 21:40:20 +0200
committerMalte Brandy <malte.brandy@maralorn.de>2020-06-22 21:40:20 +0200
commit417c171c3ad1da92465b47f1c586c684ec147701 (patch)
treeee86287153a1f2948aef62bbdbc0e611fa6583ea /pkgs/development/haskell-modules/configuration-common.nix
parentffbf8ba912e21b5fc5e139d23fd15bb273800030 (diff)
downloadnixpkgs-417c171c3ad1da92465b47f1c586c684ec147701.tar
nixpkgs-417c171c3ad1da92465b47f1c586c684ec147701.tar.gz
nixpkgs-417c171c3ad1da92465b47f1c586c684ec147701.tar.bz2
nixpkgs-417c171c3ad1da92465b47f1c586c684ec147701.tar.lz
nixpkgs-417c171c3ad1da92465b47f1c586c684ec147701.tar.xz
nixpkgs-417c171c3ad1da92465b47f1c586c684ec147701.tar.zst
nixpkgs-417c171c3ad1da92465b47f1c586c684ec147701.zip
haskellPackages.jsaddle-warp: Fix build
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index c4056f42d5b..9fe7c55f1a0 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1564,4 +1564,14 @@ self: super: {
     sha256 = "0v6kv1d4syjzgzc2s7a76c6k4vminlcq62n7jg3nn9xd00gwmmv7";
   });
 
+  # Picking fixed version constraint from upstream
+  # Issue: https://github.com/ghcjs/jsaddle/issues/115
+  # Tests disabled because they assume to run in the whole jsaddle repo and not the hackage tarbal of jsaddle-warp.
+  jsaddle-warp = dontCheck (appendPatch super.jsaddle-warp (pkgs.fetchpatch {
+    url = "https://github.com/ghcjs/jsaddle/commit/86b166033186c1724d4d52eeaf0935f0f29fe1ca.patch";
+    sha256 = "0j4g3hcqrandlnzr9n9mixygg86accdyk2nyj9hh9g4p7mrcyb7j";
+    stripLen = 2;
+    extraPrefix = "";
+  }));
+
 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super