Open mknudsen opened 3 months ago
So I'm having this problem when compiling my emacs-overlay package on a Darwin x86_64 machine:
I tried to modify Emacs to fix the underlying webkitgtk dependency, and it allows the dependency to complete configuration, but it still fails:
my-emacs = (pkgs.emacs-pgtk.overrideAttrs (prev: {
buildInputs =
(if pkgs.stdenv.isDarwin
then (lib.lists.remove pkgs.webkitgtk prev.buildInputs) ++
[(pkgs.webkitgtk.overrideAttrs (old: {
# Not strictly needed but cleans up build output
buildInputs = old.buildInputs ++ (with pkgs; [
pcre2
orc
libpsl
]);
cmakeFlags = (old.cmakeFlags or []) ++ [
"-DUSE_LIBDRM=OFF" # Not available on Darwin
"-DUSE_GSTREAMER_GL=OFF" # Disables WebRTC
];
}))]
else prev.buildInputs);
}));
nix-shell -p nix-info --run "nix-info -m"
these 3 paths will be fetched (1.07 MiB download, 6.69 MiB unpacked):
/nix/store/a481winmsxisw84r2as2p0596v6y654g-DarwinTools-1
/nix/store/p6pmwvrw9aw4fkn49h8i9vvxmlny6v57-bash-interactive-5.2p32
/nix/store/qcpv420hm7p9zi73aq6m3jnggl7n47fd-nix-info
copying path '/nix/store/a481winmsxisw84r2as2p0596v6y654g-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/p6pmwvrw9aw4fkn49h8i9vvxmlny6v57-bash-interactive-5.2p32' from 'https://cache.nixos.org'...
copying path '/nix/store/qcpv420hm7p9zi73aq6m3jnggl7n47fd-nix-info' from 'https://cache.nixos.org'...
- system: `"x86_64-darwin"`
- host os: `Darwin 23.6.0, macOS 10.16`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.18.8`
- channels(root): `""`
- nixpkgs: `/nix/store/69pq35hpchxskpc48bx3z3giql0ihmij-source`
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
Am a nix noob, there was no obvious way for me to disable DRM support and try with that but i'm happy to try things / add more information.
Same error seems to happen if I try to use the webkit based browser surf with
nix-shell -p surf
Notify maintainers
@bobby285271 @hedning @jtojnar @dasj19
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.