Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Walker stucks in buildPhase on NixOS #159

Closed
Flexksx opened this issue Nov 23, 2024 · 7 comments
Closed

Walker stucks in buildPhase on NixOS #159

Flexksx opened this issue Nov 23, 2024 · 7 comments

Comments

@Flexksx
Copy link

Flexksx commented Nov 23, 2024

Describe the bug
When trying to install on NixOS using the flake and home-manager config, walker will get stuck in the building phase.
It will update everything and when it gets to building walker, it will show this in the terminal

[1/2/8 built, 0.0 MiB DL] building walker-0.9.7-git (buildPhase): Building subPackage ./cmd/walker.go

And will get stuck for a long time, and I cancel the installation and revert the changes in the config.
Version
walker-0.9.7-git

Minimal Config
in the home-manager config

programs.walker = {
    enable = true;
    runAsService = true;
  };

To Reproduce
Follow the 2nd option for installing it on NixOS, add

inputs.walker.url = "github:abenz1267/walker";

And in the import section of home-manager add

inputs.walker.homeManagerModules.default

Update your system. I update it with an alias

sudo NIXPKGS_ALLOW_UNFREE=1 nixos-rebuild switch --flake /home/flexksx/nixos-config/nixos#nixos
home-manager switch --flake /home/flexksx/nixos-config/nixos/#flexksx@nixos

Expected behavior
Have walker installed

Desktop

  • OS NixOS
  • DE Hyprland
@Flexksx
Copy link
Author

Flexksx commented Nov 23, 2024

The same happens if I add walker to

environment.systemPackages

or

home.packages

@abenz1267
Copy link
Owner

It takes a long ass time to build. How long did you wait? For reference: with my 7950x it takes around 6 minutes to build.

You can always use the build cache.

I don't use nix, so that's all the support i can give.

@Flexksx
Copy link
Author

Flexksx commented Nov 23, 2024

Hmm ok I'll try again then, I waited around 2 minutes and I thought there's a problem with it, because it didn't log anything. I'll try again and let you know, thanks!

@Flexksx
Copy link
Author

Flexksx commented Nov 23, 2024

Ok it took a total of about 30 minutes for it to build :)
Thanks!

@Flexksx Flexksx closed this as completed Nov 23, 2024
@abenz1267
Copy link
Owner

30 minutes is actually wild. No way for you to use the build-cache?

@Flexksx
Copy link
Author

Flexksx commented Nov 23, 2024

Nah it isn't a big deal, just seemed strange that it build so long. Just didn't think that my R7 4800 is so weak in comparison to a 7950X lol :)

@abenz1267
Copy link
Owner

Yeah, it's because of the C GTK stuff.

See here: golang/go#9887 (comment) .

Maybe it'll get better at one point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants