samba: work around reproducible-builds issue

Upstream issue https://bugzilla.samba.org/show_bug.cgi?id=15632

Fixes #303436
This commit is contained in:
Arnout Engelen
2024-04-13 13:22:34 +02:00
parent 4cba8b53da
commit c531d97bf8
+7
View File
@@ -1,6 +1,7 @@
{ lib, stdenv
, buildPackages
, fetchurl
, fetchpatch
, wafHook
, pkg-config
, bison
@@ -76,6 +77,12 @@ stdenv.mkDerivation rec {
./4.x-no-persistent-install-dynconfig.patch
./4.x-fix-makeflags-parsing.patch
./build-find-pre-built-heimdal-build-tools-in-case-of-.patch
(fetchpatch {
# workaround for https://github.com/NixOS/nixpkgs/issues/303436
name = "samba-reproducible-builds.patch";
url = "https://gitlab.com/raboof/samba/-/commit/9995c5c234ece6888544cdbe6578d47e83dea0b5.patch";
hash = "sha256-TVKK/7wGsfP1pVf8o1NwazobiR8jVJCCMj/FWji3f2A=";
})
];
nativeBuildInputs = [