Merge pull request #85041 from zowoq/shellcheck

shellcheck: don't build locally
This commit is contained in:
Dennis Gosnell 2020-04-12 11:22:26 +09:00 committed by GitHub
commit 10fd09459a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,13 +16,12 @@ let
in drv' // { meta = meta' // overrideFn meta'; };
bin = haskell.lib.justStaticExecutables haskellPackages.ShellCheck;
src = haskellPackages.ShellCheck.src;
shellcheck = stdenv.mkDerivation {
pname = "shellcheck";
version = bin.version;
inherit src;
inherit (haskellPackages.ShellCheck) meta src;
nativeBuildInputs = [ pandoc ];
@ -40,10 +39,6 @@ let
install -Dm644 shellcheck.1 $man/share/man/man1/shellcheck.1
mkdir $out
'';
# just some file copying
preferLocalBuild = true;
allowSubstitutes = false;
};
in