frontend client for gemstone. decentralised workplace app
1
fork

Configure Feed

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

feat: nix shell

serenity d665f69e 9c50b458

+80
+18
default.nix
··· 1 + { lib, buildNpmPackage }: 2 + 3 + buildNpmPackage { 4 + pname = "gemstone-app"; 5 + version = "0.0.1"; 6 + 7 + src = ./.; 8 + 9 + npmDepsHash = lib.fakeHash; 10 + 11 + meta = { 12 + description = "frontend for gemstone, decentralised workspace app."; 13 + homepage = "https://github.com/gemstone-systems/gemstone-app"; 14 + license = lib.licenses.mit; 15 + maintainers = with lib.maintainers; [ ]; 16 + mainProgram = "example"; 17 + }; 18 + }
+29
flake.nix
··· 1 + { 2 + description = "frontend for gemstone, decentralised workspace app."; 3 + 4 + inputs = { 5 + nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 6 + }; 7 + 8 + outputs = 9 + { self, nixpkgs }: 10 + let 11 + forAllSystems = 12 + function: 13 + nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed ( 14 + system: function nixpkgs.legacyPackages.${system} 15 + ); 16 + in 17 + { 18 + packages = forAllSystems (pkgs: { 19 + example = pkgs.callPackage ./default.nix { }; 20 + default = self.packages.${pkgs.stdenv.hostPlatform.system}.example; 21 + }); 22 + 23 + devShells = forAllSystems (pkgs: { 24 + default = pkgs.callPackage ./shell.nix { }; 25 + }); 26 + 27 + overlays.default = final: _: { example = final.callPackage ./default.nix { }; }; 28 + }; 29 + }
+33
shell.nix
··· 1 + { 2 + mkShellNoCC, 3 + 4 + # extra tooling 5 + eslint_d, 6 + prettierd, 7 + nodejs_24, 8 + pnpm, 9 + typescript, 10 + typescript-language-server, 11 + 12 + callPackage, 13 + }: 14 + let 15 + defaultPackage = callPackage ./default.nix { }; 16 + in 17 + mkShellNoCC { 18 + inputsFrom = [ defaultPackage ]; 19 + 20 + packages = [ 21 + eslint_d 22 + prettierd 23 + nodejs_24 24 + pnpm 25 + typescript 26 + typescript-language-server 27 + ]; 28 + 29 + shellHook = '' 30 + eslint_d start # start eslint daemon 31 + eslint_d status # inform user about eslint daemon status 32 + ''; 33 + }