about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-04-13 17:43:53 +0200
committerGitHub <noreply@github.com>2024-04-13 17:43:53 +0200
commit3595a79d1abf68c9cb1956d39414645fa8038a57 (patch)
tree0d277eb04a1244304a3a7333380f7c1bb60dd666 /pkgs/servers
parent382aeb466fe70a61406ef627364714a027f418a1 (diff)
parentc531d97bf84d91868a5e22686cf0994bca0e7b44 (diff)
Merge pull request #303818 from raboof/samba-reproducible-builds-303436
samba: work around reproducible-builds issue
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/samba/4.x.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix
index 66a9bcc5c6841..192c5ade05b57 100644
--- a/pkgs/servers/samba/4.x.nix
+++ b/pkgs/servers/samba/4.x.nix
@@ -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 = [