fix(nix): Set buildInputs

This commit is contained in:
Daniel Kempkens 2023-08-14 19:22:48 +02:00
parent f0e670d99f
commit 5cfbcf2df9
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -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; };
};