Skip to content

Commit

Permalink
cpptrace: 0.7.4 -> 0.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
xokdvium committed Jan 12, 2025
1 parent c42b1c3 commit b371b8f
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions pkgs/by-name/cp/cpptrace/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,15 @@

stdenv.mkDerivation (finalAttrs: {
pname = "cpptrace";
version = "0.7.4";
version = "0.7.5";

src = fetchFromGitHub {
owner = "jeremy-rifkin";
repo = "cpptrace";
tag = "v${finalAttrs.version}";
hash = "sha256-JBgus66duh+a8Cr1NubNsMHE7CP13uML8DTgXW9jwIc=";
hash = "sha256-2rDyH9vo47tbqqZrTupAOrMySj4IGKeWX8HBTGjFf+g=";
};

postPatch = ''
# https://www.github.com/jeremy-rifkin/cpptrace/pull/196
substituteInPlace test/unit/stacktrace.cpp --replace-fail \
"#define CPPTRACE_FORCE_INLINE [[gnu::always_inline]]" \
"#define CPPTRACE_FORCE_INLINE [[gnu::always_inline]] static"
'';

nativeBuildInputs = [
cmake
pkg-config
Expand Down

0 comments on commit b371b8f

Please sign in to comment.