Changes
2 changed files (+85/-0)
-
flake.lock (new)
-
@@ -0,0 +1,27 @@{ "nodes": { "nixpkgs": { "locked": { "lastModified": 1761349956, "narHash": "sha256-tH3wHnOJms+U4k/rK2Nn1RfBrhffX92jLP/2VndSn0w=", "owner": "nixos", "repo": "nixpkgs", "rev": "02f2cb8e0feb4596d20cc52fda73ccee960e3538", "type": "github" }, "original": { "owner": "nixos", "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } }, "root": { "inputs": { "nixpkgs": "nixpkgs" } } }, "root": "root", "version": 7 }
-
-
flake.nix (new)
-
@@ -0,0 +1,58 @@# Copyright (C) 2025 Shota FUJI # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # SPDX-License-Identifier: LGPL-2.1-or-later { inputs = { nixpkgs = { url = "github:nixos/nixpkgs/nixpkgs-unstable"; }; }; outputs = { nixpkgs, ... }: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forEachSystems = f: nixpkgs.lib.genAttrs systems ( system: f { inherit system; pkgs = nixpkgs.legacyPackages.${system}; } ); in { devShells = forEachSystems ( { pkgs, system }: { default = pkgs.mkShell { packages = with pkgs; [ tree-sitter ]; }; } ); }; }
-