diff options
author | Emily Trau <13267947+emilytrau@users.noreply.github.com> | 2023-11-18 21:57:36 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-18 21:57:36 +1100 |
commit | a350ac03bcde4e029f4d3c6bf7af226ff5045681 (patch) | |
tree | 5ec1447a464b5050274bbd346ef3c1893f60b054 | |
parent | b2da7f188fada3fb60968f8dcc92d3baadf855ba (diff) | |
parent | 58046c39a53c83994216b60e79a6e7545d39eb4b (diff) |
Merge pull request #267196 from emilytrau/deno-clang-fix
deno: fix `-Wno-unknown-warning-option` error with clang
-rw-r--r-- | pkgs/development/web/deno/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 83e7fd1b1a331..27303fb86020a 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -44,6 +44,9 @@ rustPlatform.buildRustPackage rec { (with darwin.apple_sdk.frameworks; [ Security CoreServices Metal Foundation QuartzCore ]) ); + # work around "error: unknown warning group '-Wunused-but-set-parameter'" + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unknown-warning-option"; + buildAndTestSubdir = "cli"; # The v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem |