Skip to content

Commit

Permalink
pkgsStatic.dtc: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo committed Oct 28, 2024
1 parent 9a18caa commit 3d2dfab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/compilers/dtc/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, lib
, fetchpatch2
, fetchzip
, meson
, ninja
Expand All @@ -22,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Zl2bOGDJIe/bhMFNsy969JYCYqtXTOzgb+bbOlKqOco=";
};

patches = [
(fetchpatch2 {
# https://github.com/dgibson/dtc/pull/141
url = "https://github.com/dgibson/dtc/commit/56a7d0cb3be5f2f7604bc42299e24d13a39c72d8.patch";
hash = "sha256-GmAyk/K2OolH/Z8SsgwCcq3/GOlFuSpnVPr7jsy8Cs0=";
})
];

env.SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version;

nativeBuildInputs = [
Expand Down

0 comments on commit 3d2dfab

Please sign in to comment.