samba: set correct pythondir

This commit is contained in:
Nick Cao
2024-11-22 11:08:31 -05:00
parent f9f571f5d1
commit d04595402d
+3
View File
@@ -161,6 +161,9 @@ stdenv.mkDerivation (finalAttrs: {
"--sysconfdir=/etc"
"--localstatedir=/var"
"--disable-rpath"
# otherwise third_party/waf/waflib/Tools/python.py would
# get the wrong pythondir from build platform python
"--pythondir=${placeholder "out"}/${python.sitePackages}"
(lib.enableFeature enablePrinting "cups")
] ++ optional (!enableDomainController)
"--without-ad-dc"