Skip to content

Instantly share code, notes, and snippets.

@chrisolsen
Last active November 2, 2025 02:56
Show Gist options
  • Select an option

  • Save chrisolsen/dace1979053fb924f47851ad1f064181 to your computer and use it in GitHub Desktop.

Select an option

Save chrisolsen/dace1979053fb924f47851ad1f064181 to your computer and use it in GitHub Desktop.
Gleam flake.nix file
{
description = "A Gleam project development environment";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells = {
default = pkgs.mkShell {
packages = [
pkgs.gleam
pkgs.erlang
];
};
};
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment