Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol.
wisp.place
1{
2 inputs = {
3 nixpkgs.url = "nixpkgs/nixos-unstable";
4 rust-overlay.url = "github:oxalica/rust-overlay";
5 };
6
7 outputs = {
8 self,
9 nixpkgs,
10 rust-overlay,
11 }: let
12 system = "aarch64-darwin";
13 overlays = [(import rust-overlay)];
14 pkgs = import nixpkgs {
15 inherit overlays system;
16 crossSystem = {
17 config = "x86_64-unknown-linux-gnu";
18 rustc.config = "x86_64-unknown-linux-gnu";
19 };
20 };
21 in {
22 packages.${system} = {
23 default = self.outputs.packages.${system}.x86_64-linux-example;
24 x86_64-linux-example = pkgs.callPackage ./. {};
25 };
26 };
27}