Open themg95 opened 1 month ago
might be due to a stdenv mismatch. Try overriding the stdenv to gcc14Stdenv
.
Nope, still doesn't work with this override
(pkgs.hyprlandPlugins.hyprexpo.overrideAttrs (oldAttrs: rec{ stdenv = pkgs.gcc14Stdenv; }))
That's not correct. Should be (pkgs.hyprlandPlugins.hyprexpo.override {stdenv = pkgs.gcc14Stdenv;})
im sorry if this is turning into a nixos support thread but using .override gives me this error:
error: function 'anonymous lambda' called with unexpected argument 'stdenv'
You seem to be using hyprexpo and hyprland both from nixpkgs, so I guess I managed to break the plugins in the last update. I'll look into it.
@themg95 try adding this in your config, hopefully it works
nixpkgs.overlays = [
(final: prev: {
hyprland-plugins = prev.hyprland-plugins // {
mkHyprlandPlugin =
hyprland:
args@{ pluginName, ... }:
hyprland.stdenv.mkDerivation (
args
// {
pname = "${pluginName}";
nativeBuildInputs = [ final.pkg-config ] ++ args.nativeBuildInputs or [ ];
buildInputs = [ hyprland ] ++ hyprland.buildInputs ++ (args.buildInputs or [ ]);
meta = args.meta // {
description = args.meta.description or "";
longDescription =
(args.meta.longDescription or "")
+ "\n\nPlugins can be installed via a plugin entry in the Hyprland NixOS or Home Manager options.";
};
}
);
};
};
)
];
I had to change prev.hyprland-plugins
to prev.hyprlandPlugins
for it to compile but nope, still the same error.
iirc I am running expo on my laptop on git and it is working
Yeah I'm also running git. The problem is hyprland 0.43 and the tagged 0.43 hyprexpo (same as git, for all intents and purposes).
I'm encountering this very vaguer error when I try to load hyprexpo.