tracks lexicons and how many times they appeared on the jetstream
3
fork

Configure Feed

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

build: add server package

dusk 037ba371 9a693fc1

+246 -8
+232 -1
flake.lock
··· 1 1 { 2 2 "nodes": { 3 + "crane": { 4 + "flake": false, 5 + "locked": { 6 + "lastModified": 1727316705, 7 + "narHash": "sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE=", 8 + "owner": "ipetkov", 9 + "repo": "crane", 10 + "rev": "5b03654ce046b5167e7b0bccbd8244cb56c16f0e", 11 + "type": "github" 12 + }, 13 + "original": { 14 + "owner": "ipetkov", 15 + "ref": "v0.19.0", 16 + "repo": "crane", 17 + "type": "github" 18 + } 19 + }, 20 + "dream2nix": { 21 + "inputs": { 22 + "nixpkgs": [ 23 + "nci", 24 + "nixpkgs" 25 + ], 26 + "purescript-overlay": "purescript-overlay", 27 + "pyproject-nix": "pyproject-nix" 28 + }, 29 + "locked": { 30 + "lastModified": 1752547840, 31 + "narHash": "sha256-T6wYez5urMcY8oUetwOIqPcqj77Ey3qka7wQsi6YCd4=", 32 + "owner": "nix-community", 33 + "repo": "dream2nix", 34 + "rev": "667ba5ee25c95cf63ace92307db270e235dce66e", 35 + "type": "github" 36 + }, 37 + "original": { 38 + "owner": "nix-community", 39 + "repo": "dream2nix", 40 + "type": "github" 41 + } 42 + }, 43 + "flake-compat": { 44 + "flake": false, 45 + "locked": { 46 + "lastModified": 1696426674, 47 + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 48 + "owner": "edolstra", 49 + "repo": "flake-compat", 50 + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 51 + "type": "github" 52 + }, 53 + "original": { 54 + "owner": "edolstra", 55 + "repo": "flake-compat", 56 + "type": "github" 57 + } 58 + }, 59 + "mk-naked-shell": { 60 + "flake": false, 61 + "locked": { 62 + "lastModified": 1681286841, 63 + "narHash": "sha256-3XlJrwlR0nBiREnuogoa5i1b4+w/XPe0z8bbrJASw0g=", 64 + "owner": "yusdacra", 65 + "repo": "mk-naked-shell", 66 + "rev": "7612f828dd6f22b7fb332cc69440e839d7ffe6bd", 67 + "type": "github" 68 + }, 69 + "original": { 70 + "owner": "yusdacra", 71 + "repo": "mk-naked-shell", 72 + "type": "github" 73 + } 74 + }, 3 75 "naked-shell": { 4 76 "locked": { 5 77 "lastModified": 1681286841, ··· 15 87 "type": "github" 16 88 } 17 89 }, 90 + "nci": { 91 + "inputs": { 92 + "crane": "crane", 93 + "dream2nix": "dream2nix", 94 + "mk-naked-shell": "mk-naked-shell", 95 + "nixpkgs": [ 96 + "nixpkgs" 97 + ], 98 + "parts": "parts", 99 + "rust-overlay": "rust-overlay", 100 + "treefmt": "treefmt" 101 + }, 102 + "locked": { 103 + "lastModified": 1752905922, 104 + "narHash": "sha256-fhwoEa+rjxLsRANRqh4jl4evnGpVNTLWUf4a/KDkQ3k=", 105 + "owner": "yusdacra", 106 + "repo": "nix-cargo-integration", 107 + "rev": "47e02f590e1e2c72b4ffc2bcf92b2b11c3195395", 108 + "type": "github" 109 + }, 110 + "original": { 111 + "owner": "yusdacra", 112 + "repo": "nix-cargo-integration", 113 + "type": "github" 114 + } 115 + }, 18 116 "nixpkgs": { 19 117 "locked": { 20 118 "lastModified": 1752687322, ··· 48 146 }, 49 147 "parts": { 50 148 "inputs": { 149 + "nixpkgs-lib": [ 150 + "nci", 151 + "nixpkgs" 152 + ] 153 + }, 154 + "locked": { 155 + "lastModified": 1751413152, 156 + "narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=", 157 + "owner": "hercules-ci", 158 + "repo": "flake-parts", 159 + "rev": "77826244401ea9de6e3bac47c2db46005e1f30b5", 160 + "type": "github" 161 + }, 162 + "original": { 163 + "owner": "hercules-ci", 164 + "repo": "flake-parts", 165 + "type": "github" 166 + } 167 + }, 168 + "parts_2": { 169 + "inputs": { 51 170 "nixpkgs-lib": "nixpkgs-lib" 52 171 }, 53 172 "locked": { ··· 64 183 "type": "github" 65 184 } 66 185 }, 186 + "purescript-overlay": { 187 + "inputs": { 188 + "flake-compat": "flake-compat", 189 + "nixpkgs": [ 190 + "nci", 191 + "dream2nix", 192 + "nixpkgs" 193 + ], 194 + "slimlock": "slimlock" 195 + }, 196 + "locked": { 197 + "lastModified": 1728546539, 198 + "narHash": "sha256-Sws7w0tlnjD+Bjck1nv29NjC5DbL6nH5auL9Ex9Iz2A=", 199 + "owner": "thomashoneyman", 200 + "repo": "purescript-overlay", 201 + "rev": "4ad4c15d07bd899d7346b331f377606631eb0ee4", 202 + "type": "github" 203 + }, 204 + "original": { 205 + "owner": "thomashoneyman", 206 + "repo": "purescript-overlay", 207 + "type": "github" 208 + } 209 + }, 210 + "pyproject-nix": { 211 + "inputs": { 212 + "nixpkgs": [ 213 + "nci", 214 + "dream2nix", 215 + "nixpkgs" 216 + ] 217 + }, 218 + "locked": { 219 + "lastModified": 1752481895, 220 + "narHash": "sha256-luVj97hIMpCbwhx3hWiRwjP2YvljWy8FM+4W9njDhLA=", 221 + "owner": "pyproject-nix", 222 + "repo": "pyproject.nix", 223 + "rev": "16ee295c25107a94e59a7fc7f2e5322851781162", 224 + "type": "github" 225 + }, 226 + "original": { 227 + "owner": "pyproject-nix", 228 + "repo": "pyproject.nix", 229 + "type": "github" 230 + } 231 + }, 67 232 "root": { 68 233 "inputs": { 69 234 "naked-shell": "naked-shell", 235 + "nci": "nci", 70 236 "nixpkgs": "nixpkgs", 71 - "parts": "parts", 237 + "parts": "parts_2", 72 238 "systems": "systems" 73 239 } 74 240 }, 241 + "rust-overlay": { 242 + "inputs": { 243 + "nixpkgs": [ 244 + "nci", 245 + "nixpkgs" 246 + ] 247 + }, 248 + "locked": { 249 + "lastModified": 1752892850, 250 + "narHash": "sha256-LLvDqLiK2+dr7bQqKTnZIZ8F1H67DLt3FUyVrGolGVw=", 251 + "owner": "oxalica", 252 + "repo": "rust-overlay", 253 + "rev": "742248f12aed0183a124637e8b27a238a47f46a2", 254 + "type": "github" 255 + }, 256 + "original": { 257 + "owner": "oxalica", 258 + "repo": "rust-overlay", 259 + "type": "github" 260 + } 261 + }, 262 + "slimlock": { 263 + "inputs": { 264 + "nixpkgs": [ 265 + "nci", 266 + "dream2nix", 267 + "purescript-overlay", 268 + "nixpkgs" 269 + ] 270 + }, 271 + "locked": { 272 + "lastModified": 1688756706, 273 + "narHash": "sha256-xzkkMv3neJJJ89zo3o2ojp7nFeaZc2G0fYwNXNJRFlo=", 274 + "owner": "thomashoneyman", 275 + "repo": "slimlock", 276 + "rev": "cf72723f59e2340d24881fd7bf61cb113b4c407c", 277 + "type": "github" 278 + }, 279 + "original": { 280 + "owner": "thomashoneyman", 281 + "repo": "slimlock", 282 + "type": "github" 283 + } 284 + }, 75 285 "systems": { 76 286 "locked": { 77 287 "lastModified": 1680978846, ··· 84 294 "original": { 85 295 "owner": "nix-systems", 86 296 "repo": "x86_64-linux", 297 + "type": "github" 298 + } 299 + }, 300 + "treefmt": { 301 + "inputs": { 302 + "nixpkgs": [ 303 + "nci", 304 + "nixpkgs" 305 + ] 306 + }, 307 + "locked": { 308 + "lastModified": 1752055615, 309 + "narHash": "sha256-19m7P4O/Aw/6+CzncWMAJu89JaKeMh3aMle1CNQSIwM=", 310 + "owner": "numtide", 311 + "repo": "treefmt-nix", 312 + "rev": "c9d477b5d5bd7f26adddd3f96cfd6a904768d4f9", 313 + "type": "github" 314 + }, 315 + "original": { 316 + "owner": "numtide", 317 + "repo": "treefmt-nix", 87 318 "type": "github" 88 319 } 89 320 }
+14 -7
flake.nix
··· 3 3 inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 4 4 inputs.systems.url = "github:nix-systems/x86_64-linux"; 5 5 inputs.naked-shell.url = "github:90-008/mk-naked-shell"; 6 + inputs.nci.url = "github:yusdacra/nix-cargo-integration"; 7 + inputs.nci.inputs.nixpkgs.follows = "nixpkgs"; 6 8 7 9 outputs = inp: 8 10 inp.parts.lib.mkFlake {inputs = inp;} { 9 11 systems = import inp.systems; 10 12 imports = [ 11 13 inp.naked-shell.flakeModule 14 + inp.nci.flakeModule 12 15 ]; 13 16 perSystem = { 14 17 config, ··· 16 19 ... 17 20 }: let 18 21 pkgs = inp.nixpkgs.legacyPackages.${system}; 19 - packageJson = builtins.fromJSON (builtins.readFile ./package.json); 22 + packageJson = builtins.fromJSON (builtins.readFile ./client/package.json); 20 23 in { 21 - packages.nsid-tracker-modules = pkgs.stdenv.mkDerivation { 24 + nci.projects."nsid-tracker" = { 25 + export = false; 26 + path = ./server; 27 + }; 28 + packages.client-modules = pkgs.stdenv.mkDerivation { 22 29 pname = "${packageJson.name}-modules"; 23 30 version = packageJson.version; 24 31 25 - src = ./.; 32 + src = ./client; 26 33 27 34 outputHash = "sha256-IK8D8c/Bzckd44/QnDsUQqLqhJaPR36ilzQNIn0Uyns="; 28 35 outputHashAlgo = "sha256"; ··· 44 51 dontFixup = true; 45 52 dontPatchShebangs = true; 46 53 }; 47 - packages.nsid-tracker = pkgs.stdenv.mkDerivation { 54 + packages.client = pkgs.stdenv.mkDerivation { 48 55 pname = packageJson.name; 49 56 version = packageJson.version; 50 57 51 - src = ./.; 58 + src = ./client; 52 59 53 60 nativeBuildInputs = [pkgs.makeBinaryWrapper]; 54 61 buildInputs = [pkgs.bun]; ··· 56 63 # dontConfigure = true; 57 64 configurePhase = '' 58 65 runHook preConfigure 59 - cp -R --no-preserve=ownership ${config.packages.nsid-tracker-modules} node_modules 66 + cp -R --no-preserve=ownership ${config.packages.client-modules} node_modules 60 67 find node_modules -type d -exec chmod 755 {} \; 61 68 substituteInPlace node_modules/.bin/vite \ 62 69 --replace-fail "/usr/bin/env node" "${pkgs.bun}/bin/bun" ··· 81 88 runHook postInstall 82 89 ''; 83 90 }; 84 - packages.default = config.packages.nsid-tracker; 91 + packages.server = config.nci.outputs."server".packages.release; 85 92 }; 86 93 }; 87 94 }