nix.tests: Remove dead code

Co-authored-by: Artturi <Artturin@artturin.com>
This commit is contained in:
Robert Hensing 2023-11-10 20:13:42 +01:00 committed by GitHub
parent c8b8ab8155
commit 4105d387f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,10 +126,6 @@ let
runCommand "test-nix-fallback-paths-version-equals-nix-stable" {
paths = lib.concatStringsSep "\n" (builtins.attrValues (import ../../../../nixos/modules/installer/tools/nix-fallback-paths.nix));
} ''
# From nix test suite
grepQuietInverse() {
! grep "$@" > /dev/null
}
if [[ "" != $(grep -v 'nix-${pkg.version}$' <<< "$paths") ]]; then
echo "nix-fallback-paths not up to date with nixVersions.stable (nix-${pkg.version})"
echo "The following paths are not up to date:"