pkgsStatic.dtc: fix build

This commit is contained in:
Alyssa Ross 2024-04-10 11:21:54 +02:00
parent 4c7d983a3a
commit bda70c98f1
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -47,6 +47,12 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/dgibson/dtc/commit/35f26d2921b68d97fefbd5a2b6e821a2f02ff65d.patch";
sha256 = "sha256-cO4f/jJX/pQL7kk4jpKUhsCVESW2ZuWaTr7z3BuvVkw=";
})
(fetchpatch {
name = "static.patch";
url = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git/patch/?id=3fbfdd08afd2a7a25b27433f6f5678c0fe694721";
hash = "sha256-skK8m1s4xkK6x9AqzxiEK+1uMEmS27dBI1CdEXNFTfU=";
})
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version;