From 22b1e25676ab30a9e95abac40aea7868cfd7fe1f Mon Sep 17 00:00:00 2001 From: John Ericson Date: Tue, 30 Apr 2024 10:38:49 -0400 Subject: [PATCH] freebsd.mtree: Needs explicit callPackage Otherwise we get an infinite recursion. This fixes the bootstrap of FreeBSD, which uses this tool from NetBSD. --- pkgs/os-specific/bsd/netbsd/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index ff01c2ce62eb..fd5e24aa7102 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -129,5 +129,9 @@ makeScopeWithSplicing' { inherit (buildPackages.buildPackages) rsync; }; + mtree = self.callPackage ./pkgs/mtree.nix { + inherit (self) mknod; + }; + })); }