For example, adding this dep
{:mnesia_eleveldb,
git: "https://github.com/klarna/mnesia_eleveldb",
ref: "af6d0556a78aec2918b3471f0c85121402a1f5b1"}
Results in
mnesia_eleveldb =
let
version = "af6d0556a78aec2918b3471f0c85121402a1f5b1";
drv = buildMix {
inherit version;
name = "mnesia_eleveldb";
appConfigPath = ./config;
src = pkgs.fetchFromGitHub {
owner = "klarna";
repo = "mnesia_eleveldb";
rev = "af6d0556a78aec2918b3471f0c85121402a1f5b1";
hash = "sha256-+ZZ5Uyoe/HK0wL0ev1vn9Tuiaps4X88izETtuRszKYE=";
};
beamDeps = [
proper
eleveldb
];
};
in
drv;
Which will not build, as the repo https://github.com/klarna/mnesia_eleveldb has no mix project file.
It looks like mix doesn't put the build manager in the lock file even if specified with manager: :rebar3, but could deps_nix maybe inspect the out path after fetching to verify?
For example, adding this dep
Results in
Which will not build, as the repo https://github.com/klarna/mnesia_eleveldb has no mix project file.
It looks like mix doesn't put the build manager in the lock file even if specified with
manager: :rebar3, but could deps_nix maybe inspect the out path after fetching to verify?