nix-community / nixpkgs-wayland

Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS. [maintainers=@colemickens, @Artturin]
496 stars 44 forks source link

support needed: non-flakes, overlay install -> Error: infinite recursion #405

Closed ja0nz closed 1 year ago

ja0nz commented 1 year ago

The process to install nixpkgs-wayland laid out in the REAME (https://github.com/nix-community/nixpkgs-wayland/blob/master/README.md#install-for-nixos-non-flakes-manual-import) is not working anymore.

The error was introduced by commit https://github.com/nix-community/nixpkgs-wayland/commit/cd9623eee03df6505e85d7274d84ac9a7bab025f which changed the overlay.nix file. Need guidance please:)

Error message

error: infinite recursion encountered

       at /nix/store/bslnnd9p07ixn6rsx8nwsdvfl490kg3i-nixos/nixos/lib/fixed-points.nix:69:67:

           68|   #
           69|   extends = f: rattrs: self: let super = rattrs self; in super // f self super;
             |                                                                   ^
           70|
Artturin commented 1 year ago

https://github.com/nix-community/flake-compat the { system ? builtins.currentSystem }: changes the method of importing our default.nix from just import x to import x {}

@colemickens

Artturin commented 1 year ago

fix in https://github.com/nix-community/nixpkgs-wayland/commit/19019499709f728a33b91686dc4b8bb5fd391b8d

ja0nz commented 1 year ago

Super fast🔥 Thanks!