From d7750c43b2813e13078d1966654092c0a377fdb1 Mon Sep 17 00:00:00 2001 From: Will Bush Date: Fri, 15 Mar 2024 21:35:56 -0500 Subject: [PATCH] check-by-name: Update .envrc to remove deprecated command Noticed the following warning: ``` direnv: `nix_direnv_watch_file` is deprecated - use `watch_file` ``` Which seems to come from here: https://github.com/nix-community/nix-direnv/blob/6455f38a8dcf731dccd69aabef3f85ac962bfa8d/direnvrc#L207 Seems this check is no longer needed check-by-name: Remove check from .envrc Co-authored-by: Silvan Mosberger --- pkgs/test/nixpkgs-check-by-name/.envrc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/test/nixpkgs-check-by-name/.envrc b/pkgs/test/nixpkgs-check-by-name/.envrc index 4555ccf0921f..1d953f4bd735 100644 --- a/pkgs/test/nixpkgs-check-by-name/.envrc +++ b/pkgs/test/nixpkgs-check-by-name/.envrc @@ -1,7 +1 @@ -if has nix_direnv_watch_file; then - nix_direnv_watch_file default.nix shell.nix -else - watch_file default.nix shell.nix -fi - use nix