Skip to content

Commit

Permalink
chore: add flake
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Jan 3, 2025
1 parent 4e87275 commit 79481d0
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 0 deletions.
99 changes: 99 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
description = "Wallaby";

inputs = {
beam-flakes = {
url = "github:mhanberg/nix-beam-flakes";
inputs.flake-parts.follows = "flake-parts";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};

outputs = inputs @ {
beam-flakes,
flake-parts,
...
}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [beam-flakes.flakeModule];

systems = ["aarch64-darwin" "x86_64-darwin" "x86_64-linux"];

perSystem = {
pkgs,
system,
...
}: {
beamWorkspace = {
enable = true;
devShell = {
packages = with pkgs; [
chromedriver
selenium-server-standalone
];
languageServers.elixir = false;
languageServers.erlang = false;
};

versions = {fromToolVersions = ./.tool-versions;};
};
};
};
}

0 comments on commit 79481d0

Please sign in to comment.