Update flake

This commit is contained in:
Florian RICHER 2024-03-08 20:00:46 +01:00
parent 2723bf3cb7
commit cc81a3e25b

View file

@ -14,18 +14,20 @@
customElixir = pkgs.elixir_1_16.override {
erlang = pkgs.erlang_26;
};
basePackages = [
customElixir
pkgs.git
];
buildInputs = basePackages
++ pkgs.lib.optionals pkgs.stdenv.isLinux [ pkgs.inotify-tools ]
++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ pkgs.CoreFoundation pkgs.CoreServices ]);
in
{
devShells = rec {
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
customElixir
];
buildInputs = with pkgs; [
git
inotify-tools
];
buildInputs = buildInputs;
};
};
});