about summary refs log tree commit diff
path: root/pkgs/development/tools/shellcheck/default.nix
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-11-29 08:26:09 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-12-02 08:12:31 +1000
commit93266415489c4079eb62308a7829c30d72334048 (patch)
tree2ccb999eefd6503efacf5762a28be0469a6acd1f /pkgs/development/tools/shellcheck/default.nix
parent512c0ee78a8dcfc74758108822247f1205cbf909 (diff)
shellcheck: add override for newer version
`haskellPackages.ShellCheck` is pinned on stackage.
Diffstat (limited to 'pkgs/development/tools/shellcheck/default.nix')
-rw-r--r--pkgs/development/tools/shellcheck/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/tools/shellcheck/default.nix b/pkgs/development/tools/shellcheck/default.nix
index cf767515082e4..13cfc93cfc673 100644
--- a/pkgs/development/tools/shellcheck/default.nix
+++ b/pkgs/development/tools/shellcheck/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, haskellPackages, haskell, pandoc }:
+{ stdenv, lib, ShellCheck, haskell, pandoc }:
 
 # this wraps around the haskell package
 # and puts the documentation into place
@@ -15,13 +15,15 @@ let
       };
     in drv' // { meta = meta' // overrideFn meta'; };
 
-  bin = haskell.lib.compose.justStaticExecutables haskellPackages.ShellCheck;
+  bin = haskell.lib.compose.justStaticExecutables ShellCheck;
 
   shellcheck = stdenv.mkDerivation {
     pname = "shellcheck";
     version = bin.version;
 
-    inherit (haskellPackages.ShellCheck) meta src;
+    inherit (ShellCheck) src;
+
+    meta = builtins.removeAttrs ShellCheck.meta [ "hydraPlatforms" ];
 
     nativeBuildInputs = [ pandoc ];