Update flake
This commit is contained in:
parent
2723bf3cb7
commit
cc81a3e25b
1 changed files with 10 additions and 8 deletions
18
flake.nix
18
flake.nix
|
@ -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;
|
||||
};
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue