http://pkgs.tgirl.cloud/
1let
2 nilla = import (
3 builtins.fetchTarball {
4 url = "https://github.com/nilla-nix/nilla/archive/main.tar.gz";
5 sha256 = "sha256-8vHPd/vRbylp9C4+PMk+pf63SDzSPgfkuSdAf7VAums=";
6 }
7 );
8
9 flakelock = builtins.fromJSON (builtins.readFile ./flake.lock);
10
11 result = nilla.create (
12 { config }:
13 {
14 config = {
15 inputs = {
16 nixpkgs =
17 let
18 lock = flakelock.nodes.nixpkgs.locked;
19 in
20 {
21 src = builtins.fetchTarball {
22 url = "https://github.com/NixOS/nixpkgs/archive/${lock.rev}.tar.gz";
23 sha256 = lock.narHash;
24 };
25
26 loader = "flake";
27 };
28 };
29
30 packages = builtins.mapAttrs (name: _: {
31 systems = [ "aarch64-darwin" ];
32
33 builder = "nixpkgs";
34
35 settings = {
36 pkgs = config.inputs.nixpkgs.loaded;
37
38 args = { };
39 };
40
41 package = import ./pkgs/${name}/package.nix;
42 }) (builtins.readDir ./pkgs);
43 };
44 }
45 );
46in
47result