codeql: remove autoPatchelfHook dependency

An earlier commit (d2f2687) restricted the platforms for this tool to
just linux because the derivation depends on autoPatchelfHook. It turns
out that this dependency is not actually used, so we can remove it and
expand the supported platforms to include darwin.
This commit is contained in:
Harry Maclean 2022-04-28 12:30:19 +12:00
parent df13cab16c
commit b529464b75

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip, zlib, xorg, freetype, jdk11, curl, autoPatchelfHook }:
{ lib, stdenv, fetchzip, zlib, xorg, freetype, jdk11, curl }:
stdenv.mkDerivation rec {
pname = "codeql";
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
description = "Semantic code analysis engine";
homepage = "https://codeql.github.com";
maintainers = [ maintainers.dump_stack ];
platforms = [ "x86_64-linux" ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
license = licenses.unfree;
};
}