Closed starr-dusT closed 4 months ago
update your flake input and try again. or share your config with this line added
Thanks for the response @eclairevoyant!
Turns out it had to do with another overlay that was breaking my gnomeExtensions for some reason.
I initially had:
self: super: {
gnomeExtensions.focus-changer = super.gnomeExtensions.focus-changer.overrideAttrs (old: {
src = super.fetchFromGitHub {
owner = "martinhjartmyr";
repo = "gnome-shell-extension-focus-changer";
rev = "...";
sha256 = "...";
};
});
}
changing that to this fixed the issue:
self: super: {
gnomeExtensions = super.gnomeExtensions // {
focus-changer = super.gnomeExtensions.focus-changer.overrideAttrs (old: {
src = super.fetchFromGitHub {
owner = "martinhjartmyr";
repo = "gnome-shell-extension-focus-changer";
rev = "...";
sha256 = "...";
};
});
};
}
My nix-fu isn't the best so not exactly sure why the initial overlay was a problem, but thought I'd leave this here in case someone else manages to do the same thing.
{
gnomeExtensions.focus-changer = /* … */;
}
is just a syntactic sugar for
{
gnomeExtensions = {
focus-changer = /* … */;
};
}
and overlays perform only non-recursive attribute merge (using //
operator).
Describe the bug
I'm trying to install gnomeExtensions on flake-based nixos-unstable configuration (updated 2-3 weeks ago). Every extension fails to install indicating that the package attribute is missing.
For example the config:
results in:
Not sure why the packages are unavailable since I can see them on the unstable nixpkgs search, can pull them down with
nix-shell -p
, and can see the extensions are package per theextensions.json
on the nixpkgs github.Expected behavior
Should be able to install gnomeExtensions available within nixpkgs
Notify maintainers
@Mic92 @jtojnar
Metadata
Add a :+1: [reaction] to [issues you find important].