From b529464b75c02345a569da2101edf9bf4e833a20 Mon Sep 17 00:00:00 2001 From: Harry Maclean Date: Thu, 28 Apr 2022 12:30:19 +1200 Subject: [PATCH] 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. --- pkgs/development/tools/analysis/codeql/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/codeql/default.nix b/pkgs/development/tools/analysis/codeql/default.nix index 2584965499ea..e791d02963fe 100644 --- a/pkgs/development/tools/analysis/codeql/default.nix +++ b/pkgs/development/tools/analysis/codeql/default.nix @@ -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; }; }