drop overrides of nix version

This commit is contained in:
Jörg Thalheim
2025-04-22 18:03:50 +02:00
parent 26d635a283
commit 4c78cce06e
2 changed files with 3 additions and 6 deletions

View File

@@ -29,8 +29,7 @@
select-shell
pkgs.nix-unit
pkgs.tea
# Better error messages than nix 2.18
pkgs.nixVersions.latest
pkgs.nix
self'.packages.tea-create-pr
self'.packages.merge-after-ci
self'.packages.pending-reviews

View File

@@ -63,10 +63,8 @@ let
nixpkgs' =
runCommand "nixpkgs"
{
nativeBuildInputs = [
# old nix version doesn't support --flake flag
(if lib.versionAtLeast nix.version "2.24" then nix else nixVersions.latest)
];
# Not all versions have `nix flake update --flake` option
nativeBuildInputs = [ nixVersions.stable ];
}
''
mkdir $out