⭐ Moe-Counter Compatible Website Hit Counter Written in Gleam mayu.due.moe
hit-counter svg moe
1
fork

Configure Feed

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

chore(nix): adjust flake

Fuwn 0d7808ed f99a5481

+33 -10
+33 -10
flake.nix
··· 1 1 { 2 2 description = "Moe-Counter Compatible Website Hit Counter"; 3 + 3 4 inputs = { 4 - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 5 5 flake-utils.url = "github:numtide/flake-utils"; 6 6 nix-gleam.url = "github:arnarg/nix-gleam"; 7 + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 8 + 7 9 gitignore = { 8 10 url = "github:hercules-ci/gitignore.nix"; 9 11 inputs.nixpkgs.follows = "nixpkgs"; 10 12 }; 11 13 }; 12 - outputs = { self, nixpkgs, flake-utils, nix-gleam, gitignore, ... }: 13 - flake-utils.lib.eachDefaultSystem (system: 14 + 15 + outputs = 16 + { 17 + flake-utils, 18 + gitignore, 19 + nix-gleam, 20 + nixpkgs, 21 + self, 22 + ... 23 + }: 24 + flake-utils.lib.eachDefaultSystem ( 25 + system: 14 26 let 27 + inherit (gitignore.lib) gitignoreSource; 28 + 15 29 pkgs = import nixpkgs { 16 30 inherit system; 31 + 17 32 overlays = [ 18 33 nix-gleam.overlays.default 19 34 ]; 20 35 }; 21 - inherit (gitignore.lib) gitignoreSource; 22 36 in 23 37 { 24 - packages.default = pkgs.buildGleamApplication { 25 - src = gitignoreSource ./.; 26 - rebar3Package = pkgs.rebar3WithPlugins { 27 - plugins = with pkgs.beamPackages; [ pc ]; 38 + packages = { 39 + default = pkgs.buildGleamApplication { 40 + src = gitignoreSource ./.; 41 + 42 + rebar3Package = pkgs.rebar3WithPlugins { 43 + plugins = with pkgs.beamPackages; [ pc ]; 44 + }; 28 45 }; 46 + 47 + mayu = self.packages.${system}.default; 29 48 }; 30 - devShell = pkgs.mkShell { 31 - buildInputs = [ pkgs.gleam pkgs.rebar3 ]; 49 + 50 + devShells.default = pkgs.mkShell { 51 + buildInputs = with pkgs; [ 52 + gleam 53 + rebar3 54 + ]; 32 55 }; 33 56 } 34 57 );