Skip to content

Commit

Permalink
netbsd: move packages into their own modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-abrar committed Apr 22, 2024
1 parent 62f7c1f commit f0b2aa7
Show file tree
Hide file tree
Showing 67 changed files with 1,263 additions and 1,004 deletions.
9 changes: 2 additions & 7 deletions pkgs/os-specific/bsd/freebsd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,11 @@ in makeScopeWithSplicing' {
sha256 = "BpHqJfnGOeTE7tkFJBx0Wk8ryalmf4KNTit/Coh026E=";
};

# Why do we have splicing and yet do `nativeBuildInputs = with self; ...`?
# See note in ../netbsd/default.nix.

compatIfNeeded = lib.optional (!stdenvNoCC.hostPlatform.isFreeBSD) self.compat;

freebsd-lib = import ./lib { inherit version; };

# Overridden arguments avoid cross package-set splicing issues,
# otherwise would just use implicit
# `lib.packagesFromDirectoryRecursive` auto-call.
# The manual callPackages below should in principle be unnecessary, but are
# necessary. See note in ../netbsd/default.nix

compat = self.callPackage ./pkgs/compat/package.nix {
inherit stdenv;
Expand Down
Loading

0 comments on commit f0b2aa7

Please sign in to comment.