Simple algebraic dice notation parser for Gleam
4

Configure Feed

Select the types of activity you want to include in your feed.

add nix flake

Signed-off-by: Naomi Roberts <mia@naomieow.xyz>

Naomi Roberts (Jul 8, 2026, 12:51 PM +0100) 3eb8e9f8 d2469efe

+95
+1
.gitignore
··· 2 2 *.ez 3 3 /build 4 4 erl_crash.dump 5 + .envrc
+48
flake.lock
··· 1 + { 2 + "nodes": { 3 + "nixpkgs": { 4 + "locked": { 5 + "lastModified": 1783279667, 6 + "narHash": "sha256-/NAkDSsve+GNM0Bt6tleJdCGfsTlK89nPjkVOzZMo0s=", 7 + "owner": "NixOS", 8 + "repo": "nixpkgs", 9 + "rev": "f205b5574fd0cb7da5b702a2da51507b7f4fdd1b", 10 + "type": "github" 11 + }, 12 + "original": { 13 + "owner": "NixOS", 14 + "ref": "nixpkgs-unstable", 15 + "repo": "nixpkgs", 16 + "type": "github" 17 + } 18 + }, 19 + "root": { 20 + "inputs": { 21 + "nixpkgs": "nixpkgs", 22 + "treefmt-nix": "treefmt-nix" 23 + } 24 + }, 25 + "treefmt-nix": { 26 + "inputs": { 27 + "nixpkgs": [ 28 + "nixpkgs" 29 + ] 30 + }, 31 + "locked": { 32 + "lastModified": 1780220602, 33 + "narHash": "sha256-eynAfOmbmxJnkp7YewvCEbShNnnYJ9gLLqkzsYtBPeM=", 34 + "owner": "numtide", 35 + "repo": "treefmt-nix", 36 + "rev": "db947814a175b7ca6ded66e21383d938df01c227", 37 + "type": "github" 38 + }, 39 + "original": { 40 + "owner": "numtide", 41 + "repo": "treefmt-nix", 42 + "type": "github" 43 + } 44 + } 45 + }, 46 + "root": "root", 47 + "version": 7 48 + }
+41
flake.nix
··· 1 + { 2 + inputs = { 3 + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 4 + treefmt-nix = { 5 + url = "github:numtide/treefmt-nix"; 6 + inputs.nixpkgs.follows = "nixpkgs"; 7 + }; 8 + }; 9 + 10 + outputs = { 11 + self, 12 + nixpkgs, 13 + treefmt-nix, 14 + ... 15 + }: let 16 + lib = nixpkgs.lib; 17 + supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"]; 18 + forEachSupportedSystem = f: 19 + lib.genAttrs supportedSystems (system: 20 + f { 21 + pkgs = import nixpkgs {inherit system;}; 22 + }); 23 + treefmtEval = forEachSupportedSystem ({pkgs}: treefmt-nix.lib.evalModule pkgs ./treefmt.nix); 24 + in { 25 + devShells = forEachSupportedSystem ({pkgs}: { 26 + default = pkgs.mkShell { 27 + packages = with pkgs; [ 28 + gleam 29 + beamMinimal29Packages.erlang 30 + beamMinimal29Packages.rebar3 31 + ]; 32 + }; 33 + }); 34 + 35 + formatter = forEachSupportedSystem ({pkgs}: treefmtEval.${pkgs.stdenv.hostPlatform.system}.config.build.wrapper); 36 + checks = forEachSupportedSystem ({pkgs}: { 37 + formatting = 38 + treefmtEval.${pkgs.stdenv.hostPlatform.system}.config.build.check self; 39 + }); 40 + }; 41 + }
+5
treefmt.nix
··· 1 + {pkgs, ...}: { 2 + projectRootFile = "flake.nix"; 3 + programs.gleam.enable = true; 4 + programs.alejandra.enable = true; 5 + }