TestPhoenixLiveView/flake.nix

33 lines
727 B
Nix
Raw Normal View History

2024-03-08 18:56:07 +01:00
{
description = "Test Phoenix Live View";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
customElixir = pkgs.elixir_1_16.override {
erlang = pkgs.erlang_26;
};
2024-03-08 18:56:07 +01:00
in
{
devShells = rec {
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
customElixir
];
buildInputs = with pkgs; [
git
inotify-tools
2024-03-08 18:56:07 +01:00
];
};
};
});
}