Skip to content

Commit 67baed8

Browse files
committed
Select the hash based on the platform
1 parent b628c0c commit 67baed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tooling/codeql/codeql-cli/2.16.0.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111

1212
src = fetchzip {
1313
url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql-${platform}.zip";
14-
hash = "sha256-trWUSMOT7h7J5ejjp9PzhGgBS3DYsJxzcv6aYKuk8TI=";
14+
hash = if platform == "osx64" then "sha256-trWUSMOT7h7J5ejjp9PzhGgBS3DYsJxzcv6aYKuk8TI=" else "sha256-ztvKlNbqWcH93AB/Mum9jM81ssxiGcbkBROEANFGXis=";
1515
};
1616

1717
buildInputs = if (lib.length withExtractors) == 0 then [ ] else withExtractors;

0 commit comments

Comments
 (0)