Closed PhilT closed 4 months ago
I've workaround it for now by adding installCheckPhase = ''true'';
to the overrides.
Glad you got it working and thanks for the PR! I would think just using nix develop
would allow you to run the script during testing. I'm not versed enough in Nix to be able to say why the installCheckPhase was hanging.
I use flakes to install the package from github, but you could change the input to a local directory and install from there as well. My nixos config is here. Keepmenu is installed with the home-manager packages.
This has been addressed in https://github.com/NixOS/nixpkgs/pull/328672
Perhaps the tests could warn/disable themselves when xsel
or xclip
are missing, as that seems to be the root cause for this
There's probably a better way to go about this but I've just forked keepmenu and with NixOS using
keepmenu.overrideAttrs
to build a local version as I want to add support for Tofi but it's hanging at theinstallCheckPhase
.configuration.nix:
nixos-rebuild
:Any ideas how I troubleshoot this? I'm not a Python dev (I know Ruby though).