4 makeScopeWithSplicing',
5 generateSplicesForMkScope,
10 otherSplices = generateSplicesForMkScope "openbsd";
11 buildOpenbsd = otherSplices.selfBuildHost;
14 makeScopeWithSplicing' {
18 lib.packagesFromDirectoryRecursive {
19 callPackage = self.callPackage;
25 stdenvLibcMinimal = stdenvNoLibc.override (old: {
26 cc = old.cc.override {
27 libc = self.libcMinimal;
29 bintools = old.cc.bintools.override {
30 libc = self.libcMinimal;
32 sharedLibraryLoader = null;
37 makeMinimal = buildPackages.netbsd.makeMinimal.override { inherit (self) make-rules; };
39 # The manual callPackages below should in principle be unnecessary, but are
40 # necessary. See note in ../netbsd/default.nix
42 include = self.callPackage ./pkgs/include/package.nix {
43 inherit (buildOpenbsd) makeMinimal;
44 inherit (buildPackages.netbsd) install rpcgen mtree;
47 csu = self.callPackage ./pkgs/csu.nix {
48 inherit (self) include;
49 inherit (buildOpenbsd) makeMinimal;
50 inherit (buildPackages.netbsd) install;
53 libcMinimal = self.callPackage ./pkgs/libcMinimal/package.nix {
54 inherit (self) csu include;
55 inherit (buildOpenbsd) makeMinimal;
56 inherit (buildPackages.netbsd)
64 librpcsvc = self.callPackage ./pkgs/librpcsvc.nix {
65 inherit (buildOpenbsd) openbsdSetupHook makeMinimal lorder;
66 inherit (buildPackages.netbsd)
74 libutil = self.callPackage ./pkgs/libutil.nix {
75 inherit (self) libcMinimal;
76 inherit (buildOpenbsd) openbsdSetupHook makeMinimal lorder;
77 inherit (buildPackages.netbsd) install tsort statHook;
80 lorder = self.callPackage ./pkgs/lorder.nix { inherit (buildPackages.netbsd) install; };
82 make-rules = self.callPackage ./pkgs/make-rules/package.nix { };
84 mkDerivation = self.callPackage ./pkgs/mkDerivation.nix {
85 inherit (buildPackages.netbsd) install tsort;
86 inherit (buildPackages.buildPackages) rsync;