Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/ewanc26/tangled-sync. Move from GitHub to Tangled.org docs.ewancroft.uk/projects/tangled-sync
Something went wrong. Try again.
tangled-sync flake.nix
816 B · 27 lines
Nix
at main
12345678910111213141516171819202122232425262728{ description = "tangled-sync — sync GitHub repos to Tangled knotwork";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
outputs = { self, nixpkgs }: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs systems; in { devShells = forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; in { default = pkgs.mkShell { packages = with pkgs; [ nodejs_22 pnpm typescript ];
shellHook = '' echo "tangled-sync dev shell ready (Node.js 22 + TypeScript)" ''; }; } );
# Nix fmt consistent with RFC-style (what nixpkgs uses) formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style); };}