From 9291bd92f6caeb98cead84977ab91c7cd3e6d221 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 15 Jan 2026 16:18:34 +0200 Subject: [PATCH] samba: set strictDeps It doesn't fix the cross compilation issues related to the surrounding commits, but it is a good idea to set it anyway. Also, `libtasn1` needs to be added nativeBuildInputs for `asn1Parser` to be detected properly and for `bin/dumpmscat` script to be added. --- pkgs/servers/samba/4.x.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix index 6d68a2b8b44e..de5a3b225876 100644 --- a/pkgs/servers/samba/4.x.nix +++ b/pkgs/servers/samba/4.x.nix @@ -122,6 +122,7 @@ stdenv.mkDerivation (finalAttrs: { perl.pkgs.ParseYapp perl.pkgs.JSON libxslt + libtasn1 # Needed also natively for `asn1Parser` program docbook_xsl docbook_xml_dtd_45 cmocka @@ -267,6 +268,8 @@ stdenv.mkDerivation (finalAttrs: { tdb ]; + strictDeps = true; + preBuild = '' export MAKEFLAGS="-j $NIX_BUILD_CORES" '';