Fail to build on NixOS due to gnome-bluetooth
Closed this issue · 27 comments
When i try to build, i get the following error:
evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "gnome-bluetooth" at /nix/store/3p6803sfb55m8xcdcsx2alayfqf6nphs-source/nix/default.nix:24'
this panel drives me nuts more and more but now i can't even rebuild my system without pinning the frickin flake
this panel drives me nuts more and more but now i can't even rebuild my system without pinning the frickin flake
What's your nix version?
What's your nix version?
NixOS 24.05, Lix 2.91.0
What's your nix version?
NixOS 24.05, Lix 2.91.0
Did you add a nixpkgs.follow in the hyprpanel flake call?
Did you add a nixpkgs.follow in the hyprpanel flake call?
Excuse me for the late reply, I haven't done such thing.
@orxngc any idea?
Did you add a nixpkgs.follow in the hyprpanel flake call?
Not the one you asked the question to, but yes I have this in my flake.nix, and still get the error:
hyprpanel = {
url = "github:Jas-SinghFSU/HyprPanel";
inputs.nixpkgs.follows = "nixpkgs";
};
Did you add a nixpkgs.follow in the hyprpanel flake call?
Not the one you asked the question to, but yes I have this in my flake.nix, and still get the error:
hyprpanel = { url = "github:Jas-SinghFSU/HyprPanel"; inputs.nixpkgs.follows = "nixpkgs"; };
Try to remove it and rebuild
Try to remove it and rebuild
Doesnt make any difference :/ Still the same error
i'll try to fix this today fellow nerds
that should fix the issue. if it doesn't, please mention me again, preferably on discord
@orxngc I'm still experiencing this error. This issue should be reopened.
i will look into this again tomorrow then
it really should be fixed now
@orxngc Still there. Doesn't work either if I use the follows line or not
New user here, I just installed and got the same issue, I guess it's not fixed yet.
@M0NsTeRRR please tell me if running nix run
in the folder works
I've created a PR that worked for my config (I don't have anymore the error linked above).
I tried nix run as you suggested and appart some console error I got the bar on my PC... still a newbie on nixos so can't figure why.
Can some of you test my PR and see if it fixes for you (just use my repo instead)
Can some of you test my PR and see if it fixes for you (just use my repo instead)
Fixed
Yeah okay so the actual flake only work for unstable and not for stable. As I'm not a nix expert I don't know how to manage it :/
Meanwhile, this works for me:
hyprpanel = {
url = "github:Jas-SinghFSU/HyprPanel?ref=f21d70949f9f4426f39d12f542ec788d47330763";
inputs.nixpkgs.follows = "nixpkgs";
};
I've used commit ref from merge request with package name fix for stable channel.
Just to dot some I's and cross some T's. Everyone here who has removed inputs.nixpkgs.follows = "nixpkgs"
from their hyprpanel input has also then updated their flake.lock and run a rebuild without cache, the --refresh
flag and --rebuild
flag (if just using nix build
).
I myself have not been able to reproduce this issue when using the ref f21d70949f9f4426f39d12f542ec788d47330763
as part of my hyprpanel input after removing inputs.nixpkgs.follows = "nixpkgs"
where my nixpkgs follows master (where gnome.gnome-bluetooth
is deprecated), updating my flake.lock and running nixos-rebuild with those flags.
Hi everyone! I have just updated the documentation and tested it. Could you guys tell me if the error is still present if you follow the instructions in the docs? 💖
First of all, the mere inclusion of the nixpkgs overlay, makes it unable to build on 24.05, due to
error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "gnome-bluetooth" at /nix/store/zknqfdygdbl1fa6swpv9qnknfxgqkn2a-source/nix/default.nix:24'
(My flake here, private git server)
Second of all, I personally think we should wait until 24.11 drops. I have estimated for 24.11 to release in about a month due to the fact, that, previously, 23.11 has released at the end of November. Anyways, this is all up to the maintainers, if fix or wait, of course.
Tested on stable, unstable, with home-manager, without, and it all works. Closing this issue. For any users who are having trouble with Nix, please follow our documentation properly.