about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2024-04-30 10:38:49 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2024-04-30 10:39:33 -0400
commit22b1e25676ab30a9e95abac40aea7868cfd7fe1f (patch)
tree90b105158659cb4d10419cd74d46abb036788bf3 /pkgs/os-specific
parentf1b03bc7713bcc09e06bd38055abfef6a58996fc (diff)
freebsd.mtree: Needs explicit callPackage
Otherwise we get an infinite recursion.

This fixes the bootstrap of FreeBSD, which uses this tool from NetBSD.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/bsd/netbsd/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix
index ff01c2ce62eb6..fd5e24aa7102a 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;
+    };
+
   }));
 }