summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2021-04-23 20:55:06 +0200
committerPeter Simons <simons@cryp.to>2021-04-23 20:56:42 +0200
commit5a06dc2024e6feaf21fa939be2d1dddecf9f53f5 (patch)
tree1a71c6cae6f39331a119c67372152ed75d3821a4 /pkgs/development/haskell-modules/configuration-common.nix
parente62aca25dc1350e927a04723705533a1c652bb0c (diff)
downloadnixpkgs-5a06dc2024e6feaf21fa939be2d1dddecf9f53f5.tar
nixpkgs-5a06dc2024e6feaf21fa939be2d1dddecf9f53f5.tar.gz
nixpkgs-5a06dc2024e6feaf21fa939be2d1dddecf9f53f5.tar.bz2
nixpkgs-5a06dc2024e6feaf21fa939be2d1dddecf9f53f5.tar.lz
nixpkgs-5a06dc2024e6feaf21fa939be2d1dddecf9f53f5.tar.xz
nixpkgs-5a06dc2024e6feaf21fa939be2d1dddecf9f53f5.tar.zst
nixpkgs-5a06dc2024e6feaf21fa939be2d1dddecf9f53f5.zip
ShellCheck: apply patch to fix Haddock errors
https://github.com/koalaman/shellcheck/issues/2216
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 9585af3605e..552e35b9c36 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1780,4 +1780,11 @@ self: super: {
   # https://github.com/hasufell/lzma-static/issues/1
   lzma-static = doJailbreak super.lzma-static;
 
+  # Fix haddock errors: https://github.com/koalaman/shellcheck/issues/2216
+  ShellCheck = appendPatch super.ShellCheck (pkgs.fetchpatch {
+    url = "https://github.com/koalaman/shellcheck/commit/9e60b3ea841bcaf48780bfcfc2e44aa6563a62de.patch";
+    sha256 = "1vmg8mmmnph34x7y0mhkcd5nzky8f1rh10pird750xbkp9zlk099";
+    excludes = ["test/buildtest"];
+  });
+
 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super