The nixpkgs used to test profiles was (likely mistakenly) hardcoded to nixos-unstable-small, and as a result both nixpkgs{Unstable,Stable} used the same nixpkgs version. This causes unexpected assertion failures with (lib.versionAtLeast (lib.versions.majorMinor lib.version) "24.11")
This PR unhardcodes the value and resolves the potential issue.
Note that this fails 3 tests at the time of writing, namely x86_64-linux.nixos-stable-lenovo-legion-16ach6h{,-hybrid,-nvidia}, all because of a non-existent hardware.display option in stable nixpkgs.
Things done
[ ] Tested the changes in your own NixOS Configuration
[ ] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input
Description of changes
The nixpkgs used to test profiles was (likely mistakenly) hardcoded to
nixos-unstable-small
, and as a result both nixpkgs{Unstable,Stable} used the same nixpkgs version. This causes unexpected assertion failures with(lib.versionAtLeast (lib.versions.majorMinor lib.version) "24.11")
This PR unhardcodes the value and resolves the potential issue.
Note that this fails 3 tests at the time of writing, namely
x86_64-linux.nixos-stable-lenovo-legion-16ach6h{,-hybrid,-nvidia}
, all because of a non-existenthardware.display
option in stable nixpkgs.Things done
nixos-hardware
and importing it via<nixos-hardware>
or Flake input