mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
It seems that there is a difference between how `pkgs` and `lib` get passed to NixOS modules: `pkgs` is the unmodified original, `lib` is the final version after overrides etc. This causes `pkgs.lib.version` to be `24.11git` in some cases, while `lib.version` is `24.11.20241123.0c58267`. Maybe this can be fixed in nixpkgs? Either way, this change fixes that issue. Fixes #904