ATproto Nix User Repo
1# This file describes your repository contents.
2# It should return a set of nix derivations
3# and optionally the special attributes `lib`, `modules` and `overlays`.
4# It should NOT import <nixpkgs>. Instead, you should take pkgs as an argument.
5# Having pkgs default to <nixpkgs> is fine though, and it lets you use short
6# commands such as:
7# nix-build -A mypackage
8
9{ pkgs ? import <nixpkgs> { }, craneLib ? null, buildYarnPackage ? pkgs.buildYarnPackage }:
10
11{
12 # The `lib`, `modules`, and `overlays` names are special
13 lib = import ./lib { inherit pkgs; }; # functions
14 modules = import ./modules; # NixOS modules
15 overlays = import ./overlays; # nixpkgs overlays
16
17 bluesky = pkgs.callPackage ./pkgs/bluesky {
18 buildGoModule = pkgs.buildGoModule;
19 fetchFromGitHub = pkgs.fetchFromGitHub;
20 };
21}