Something went wrong. Try again.
A Discord API Library for Gleam! 💫
Something went wrong. Try again.
grom flake.nix
538 B · 27 lines
Nix
at one-module
12345678910111213141516171819202122232425262728{ inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; }; outputs = { nixpkgs, ... }: let forAllSystems = function: nixpkgs.lib.genAttrs [ "aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux" ] (system: function nixpkgs.legacyPackages.${system}); in { devShells = forAllSystems (pkgs: { default = pkgs.mkShellNoCC { buildInputs = with pkgs; [ gleam rebar3 beamPackages.erlang ]; }; }); };}