shellcheck: add override for newer version

`haskellPackages.ShellCheck` is pinned on stackage.
This commit is contained in:
zowoq 2021-11-29 08:26:09 +10:00
parent 512c0ee78a
commit 9326641548
3 changed files with 11 additions and 4 deletions

View file

@ -2114,4 +2114,7 @@ EOT
brick = self.brick_0_64_2;
};
# build newer version for `pkgs.shellcheck`
ShellCheck_0_8_0 = doDistribute super.ShellCheck_0_8_0;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View file

@ -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 ];

View file

@ -15274,7 +15274,9 @@ with pkgs;
shards_0_16
shards;
shellcheck = callPackage ../development/tools/shellcheck {};
shellcheck = callPackage ../development/tools/shellcheck {
ShellCheck = haskellPackages.ShellCheck_0_8_0;
};
shellharden = callPackage ../development/tools/shellharden {};