nix.tests: Remove dead code
Co-authored-by: Artturi <Artturin@artturin.com>
This commit is contained in:
parent
c8b8ab8155
commit
4105d387f4
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user