Skip to content

Commit

Permalink
dtc: backport fix for SWIG 4.3
Browse files Browse the repository at this point in the history
Fixes pylibfdt to actually work again.
  • Loading branch information
K900 committed Dec 17, 2024
1 parent d39d69e commit 6cbb162
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/by-name/dt/dtc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/dgibson/dtc/commit/56a7d0cb3be5f2f7604bc42299e24d13a39c72d8.patch";
hash = "sha256-GmAyk/K2OolH/Z8SsgwCcq3/GOlFuSpnVPr7jsy8Cs0=";
})
# backport fix for SWIG 4.3
(fetchpatch2 {
url = "https://github.com/dgibson/dtc/commit/9a969f3b70b07bbf1c9df44a38d7f8d1d3a6e2a5.patch";
hash = "sha256-YrRzc3ATNmU6LYNHEQeU8wtjt1Ap7/gNFvtRR14PQEE=";
})
];

env.SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version;
Expand Down

0 comments on commit 6cbb162

Please sign in to comment.