Fork of daniellemaywood.uk/gleam — Wasm codegen work
621 B
27 lines
1{
2 inputs = {
3 nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
4 fenix.url = "github:nix-community/fenix";
5 fenix.inputs.nixpkgs.follows = "nixpkgs";
6 };
7
8 outputs =
9 { nixpkgs, fenix, ... }:
10 let
11 forAllSystems =
12 function:
13 nixpkgs.lib.genAttrs [
14 "aarch64-darwin"
15 ] (system: function nixpkgs.legacyPackages.${system});
16 in
17 {
18 devShells = forAllSystems (pkgs: {
19 default = pkgs.mkShell {
20 packages = [
21 fenix.packages.${pkgs.system}.stable.toolchain
22 pkgs.capnproto
23 ];
24 };
25 });
26 };
27}