Hotfix lixFromNixpkgs overlay for >2.91 #69

Merged
jade merged 2 commits from eisfunke/nixos-module:main into main 2025-07-07 17:37:39 +00:00
Contributor

I quickly hotglued this on so I can use the lixFromNixpkgs overlay from the release-2.93 branch in my config. Currently, it doesn't work because lixVersions only contains Lix up to 2.91, and because nix-eval-jobs doesn't support lix being null, which it is for lixFromNixpkgs.

This is only a hotfix, not sure if you wanna merge this. But since I already made it I thought I'd just open a PR either way. I can also expand on it if you'd like.

I quickly hotglued this on so I can use the `lixFromNixpkgs` overlay from the `release-2.93` branch in my config. Currently, it doesn't work because `lixVersions` only contains Lix up to 2.91, and because `nix-eval-jobs` doesn't support `lix` being `null`, which it is for `lixFromNixpkgs`. This is only a hotfix, not sure if you wanna merge this. But since I already made it I thought I'd just open a PR either way. I can also expand on it if you'd like.
First-time contributor

Just ran into this issue. It would be really nice to be able to use Lix >= 2.92 from Nixpkgs with this module.

For compatibility lixVersions could be kept as a fallback in case lixPackageSets doesn't exist. But I'm not sure if this is necessary. Since NixOS 24.11 is EOL now, all supported releases already have lixPackageSets.

Quick reference to lixVersions implementation:

Related: #61

Just ran into this issue. It would be really nice to be able to use Lix >= 2.92 from Nixpkgs with this module. For compatibility `lixVersions` could be kept as a fallback in case `lixPackageSets` doesn't exist. But I'm not sure if this is necessary. Since NixOS 24.11 is EOL now, all supported releases already have `lixPackageSets`. Quick reference to `lixVersions` implementation: - [pkgs/top-level/aliases.nix#L1172](https://github.com/NixOS/nixpkgs/blob/1c27bbb80e2189337a849b69dceec784c0e34077/pkgs/top-level/aliases.nix#L1172) - [pkgs/tools/package-management/lix/default.nix#L268-L281](https://github.com/NixOS/nixpkgs/blob/1c27bbb80e2189337a849b69dceec784c0e34077/pkgs/tools/package-management/lix/default.nix#L268-L281) Related: #61
jade merged commit 4d4c2b8f0a into main 2025-07-07 17:37:39 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/nixos-module#69
No description provided.