{ description = "Pulsar Editor packages"; # https://github.com/NixOS/nixpkgs/pull/210814 inputs.nixpkgs.url = "github:winterqt/nixpkgs/build-yarn-package"; # TODO: consider https://github.com/serokell/nix-npm-buildpackage outputs = { self, nixpkgs, ... } @ inputs: let systems = [ "x86_64-linux" "aarch64-linux" ]; forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f { inherit system; pkgs = nixpkgs.legacyPackages.${system}; lib = nixpkgs.legacyPackages.${system}.lib; }); in { inherit inputs; devShells = forAllSystems ({pkgs, ...}: { default = pkgs.mkShell { packages = with pkgs; [ nurl prefetch-npm-deps prefetch-yarn-deps nodejs #nix-prefetch (python3.withPackages (ps: with ps; [ httpx rich typer dataset python-lsp-server ])) #alejandra nixfmt ]; NIX_PATH = "nixpkgs=${nixpkgs.outPath}"; }; }); }; }