Personal Nix flake
nixos home-manager nix
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Lix overlay infinite recursion

For some reason, the officially recommended overlay causes opaque
infinite recursion errors in some cases, but luckily a
[workaround](https://github.com/NixOS/nixpkgs/pull/445223#issuecomment-3330902652)
exists

+18 -3
+18 -3
nix/overlays/lix.nix
··· 1 1 # As instructed on https://lix.systems/add-to-config/ 2 2 {...}: final: prev: let 3 3 inherit (prev) lib; 4 + rev = "stable"; 4 5 in { 6 + # Workaround for infrec found here https://github.com/NixOS/nixpkgs/pull/445223#issuecomment-3330902652 7 + nix = final.lixPackageSets.${rev}.lix; 5 8 inherit 6 - (prev.lixPackageSets.stable) 7 - nixpkgs-review 9 + (final.lixPackageSets.${rev}) 10 + colmena 11 + nix-direnv 8 12 nix-eval-jobs 9 13 nix-fast-build 10 - colmena 14 + nixpkgs-review 15 + nix-serve-ng 11 16 ; 17 + lixPackageSets = prev.lixPackageSets.override { 18 + inherit 19 + (prev) 20 + colmena 21 + nix-direnv 22 + nix-fast-build 23 + nixpkgs-review 24 + nix-serve-ng 25 + ; 26 + }; 12 27 13 28 # Adapted from https://github.com/nix-community/nixd/issues/704#issuecomment-3688024705 14 29 nixd-lix = prev.symlinkJoin {