fix(nix): Set buildInputs for file_system dep
This commit is contained in:
parent
5cfbcf2df9
commit
23efd52c2a
2 changed files with 12 additions and 9 deletions
|
@ -123,15 +123,8 @@
|
|||
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; };
|
||||
mixNixDeps = import ./mix.nix { inherit pkgs lib beamPackages; };
|
||||
};
|
||||
|
||||
process-compose."${pname}-dev" =
|
||||
|
|
12
mix.nix
12
mix.nix
|
@ -1,10 +1,13 @@
|
|||
{ lib, beamPackages, overrides ? (x: y: { }) }:
|
||||
{ pkgs, lib, beamPackages, overrides ? (x: y: { }) }:
|
||||
|
||||
let
|
||||
buildRebar3 = lib.makeOverridable beamPackages.buildRebar3;
|
||||
buildMix = lib.makeOverridable beamPackages.buildMix;
|
||||
buildErlangMk = lib.makeOverridable beamPackages.buildErlangMk;
|
||||
|
||||
inherit (pkgs.stdenv) isDarwin;
|
||||
inherit (pkgs.stdenv) isLinux;
|
||||
|
||||
self = packages // (overrides self packages);
|
||||
|
||||
packages = with beamPackages; with self; {
|
||||
|
@ -148,6 +151,13 @@ let
|
|||
sha256 = "1p0myxmnjjds8bbg69dd6fvhk8q3n7lb78zd4qvmjajnzgdmw6a1";
|
||||
};
|
||||
|
||||
buildInputs = [ ] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
|
||||
CoreFoundation
|
||||
CoreServices
|
||||
]) ++ lib.optionals isLinux (with pkgs; [
|
||||
inotify-tools
|
||||
]);
|
||||
|
||||
beamDeps = [ ];
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue