diff --git a/pkgs/by-name/es/eslint/package.nix b/pkgs/by-name/es/eslint/package.nix index 9ffe00a2f102..c5342bd5ebe8 100644 --- a/pkgs/by-name/es/eslint/package.nix +++ b/pkgs/by-name/es/eslint/package.nix @@ -2,6 +2,7 @@ lib, buildNpmPackage, fetchFromGitHub, + nix-update-script, stdenv, }: buildNpmPackage rec { @@ -30,6 +31,10 @@ buildNpmPackage rec { dontNpmBuild = true; dontNpmPrune = true; + passthru.updateScript = nix-update-script { + extraArgs = [ "--generate-lockfile" ]; + }; + meta = { description = "Find and fix problems in your JavaScript code"; homepage = "https://eslint.org";