Skip to content

Commit

Permalink
Override execjs build inputs to avoid building v8
Browse files Browse the repository at this point in the history
The v8 JS engine doesn't compile successfully on my M1 Mac. However, the
intention was always that execjs would use the runtime provided by
node.js which is already listed as an explicit dependency in shell.nix.
  • Loading branch information
floehopper committed Jan 7, 2022
1 parent 961eff7 commit 96c52e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shell.nix
Expand Up @@ -5,6 +5,11 @@ let
name = "jamesmead.org-bundler-env";
inherit ruby;
gemdir = ./.;
gemConfig = pkgs.defaultGemConfig // {
execjs = attrs: {
propagatedBuildInputs = [];
};
};
};
in stdenv.mkDerivation {
name = "jamesmead.org";
Expand Down

0 comments on commit 96c52e0

Please sign in to comment.