2018-07-21 01:44:44 +01:00
|
|
|
{ fetchFromGitHub
|
2017-12-26 19:28:34 +00:00
|
|
|
, samba4
|
|
|
|
, nettle
|
|
|
|
} :
|
|
|
|
|
|
|
|
(samba4.overrideAttrs(oldAttrs: rec {
|
2018-03-11 06:01:19 +00:00
|
|
|
name = "samba-unstable-${version}";
|
|
|
|
version = "2018-03-09";
|
2017-12-26 19:28:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "samba-team";
|
|
|
|
repo = "samba";
|
2018-03-11 06:01:19 +00:00
|
|
|
rev = "9e954bcbf43d67a18ee55f84cda0b09028f96b92";
|
|
|
|
sha256 = "07j1pwm4kax6pq21gq9gpmp7dhj5afdyvkhgyl3yz334mb41q11g";
|
2017-12-26 19:28:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Remove unnecessary install flags, same as <4.8 patch
|
|
|
|
postPatch = oldAttrs.postPatch + ''
|
|
|
|
sed -i '423,433d' dynconfig/wscript
|
|
|
|
'';
|
|
|
|
|
|
|
|
patches = [ ./4.x-no-persistent-install.patch ];
|
|
|
|
buildInputs = [ nettle ] ++ oldAttrs.buildInputs;
|
|
|
|
meta.branch = "master";
|
|
|
|
})).override {
|
|
|
|
# samba4.8+ removed the ability to disable LDAP.
|
|
|
|
# Enable for base derivation here:
|
|
|
|
enableLDAP = true;
|
|
|
|
}
|