Skip to content

Commit

Permalink
supercell-wx: make suggested changes to CXXFLAGS, fetchpatch
Browse files Browse the repository at this point in the history
  • Loading branch information
aware70 committed Nov 1, 2024
1 parent 2a371da commit 698d3ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/by-name/su/supercell-wx/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [ aware70 ];
};

CXXFLAGS = "-Wno-error=restrict -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations";
env.CXXFLAGS = "-Wno-error=restrict -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations";
env.GTEST_FILTER = "-${lib.concatStringsSep ":" gtestSkip}";

doCheck = true;
Expand Down Expand Up @@ -103,7 +103,7 @@ stdenv.mkDerivation (finalAttrs: {
# fix apparent logic error when checking for supported audio codecs on launch
(fetchpatch {
name = "fix-audio-codec-setup.diff";
url = "https://patch-diff.githubusercontent.com/raw/dpaulat/supercell-wx/pull/223.diff";
url = "https://github.com/dpaulat/supercell-wx/commit/9dfbac66172b882c5c4ccfa4251a03f8bf607b02.diff";
sha256 = "sha256-sGw/vwJVNcWD56z/cG0VMZo+daQXb/I0+zbG3Gr18lU=";
})
# }}}
Expand Down

0 comments on commit 698d3ad

Please sign in to comment.