# SPDX-FileCopyrightText: 2025 Ruby Iris Juric # # SPDX-License-Identifier: 0BSD { system ? builtins.currentSystem, }: let lockFile = builtins.fromJSON (builtins.readFile ./flake.lock); flake-compat-node = lockFile.nodes.${lockFile.nodes.root.inputs.flake-compat}; flake-compat = builtins.fetchTarball { inherit (flake-compat-node.locked) url; sha256 = flake-compat-node.locked.narHash; }; flake = ( import flake-compat { src = ./.; } ); in { inherit (flake.defaultNix.packages.${system}) gleam2nix gleam-tool gleamJavascriptPrelude; inherit (flake.defaultNix.lib.${system}) buildGleam buildGleamApplication; inherit flake; }