fix(nix): Set buildInputs
This commit is contained in:
parent
f0e670d99f
commit
5cfbcf2df9
1 changed files with 14 additions and 5 deletions
13
flake.nix
13
flake.nix
|
@ -59,6 +59,7 @@
|
|||
postgres = pkgs.postgresql_15;
|
||||
|
||||
inherit (pkgs.stdenv) isDarwin;
|
||||
inherit (pkgs.stdenv) isLinux;
|
||||
inherit (gitignore.lib) gitignoreSource;
|
||||
in
|
||||
{
|
||||
|
@ -97,10 +98,11 @@
|
|||
erlang
|
||||
elixir
|
||||
postgres
|
||||
] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks;
|
||||
[
|
||||
] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
|
||||
CoreFoundation
|
||||
CoreServices
|
||||
]) ++ lib.optionals isLinux (with pkgs; [
|
||||
inotify-tools
|
||||
]);
|
||||
|
||||
packages = [
|
||||
|
@ -121,6 +123,13 @@
|
|||
packages.default = beamPackages.mixRelease {
|
||||
inherit pname version;
|
||||
|
||||
buildInputs = [ ] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
|
||||
CoreFoundation
|
||||
CoreServices
|
||||
]) ++ lib.optionals isLinux (with pkgs; [
|
||||
inotify-tools
|
||||
]);
|
||||
|
||||
src = gitignoreSource ./.;
|
||||
mixNixDeps = import ./mix.nix { inherit lib beamPackages; };
|
||||
};
|
||||
|
|
Reference in a new issue