about summary refs log tree commit diff stats
path: root/pkgs/default.nix
blob: 294d5b9135d9c6f65dfed5b357c47da92dabca5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  pkgs ? (builtins.getFlake "nixpkgs").legacyPackages."x86_64-linux",
  sysLib ? builtins.trace "Moking `sysLib`" {},
  nixLib ? import ../lib {},
}: let
  inherit (pkgs) lib;

  maybeMergeMessage = "the ./pkgs/by-name set";
  mMM = maybeMergeMessage;
  callPackage = lib.callPackageWith (nixLib.maybeMerge (nixLib.maybeMerge pkgs myPkgs mMM) {inherit sysLib;} mMM);

  myPkgs = nixLib.mkByName {
    baseDirectory = ./by-name;
    fileName = "package.nix";
    finalizeFunction = name: value: callPackage value {};
  };
in
  # TODO: Filter the sources of every package in the shards <2024-05-25>
  myPkgs