From 4d5945ff50742c46b67f7497a1ddbfa5a4a8dba2 Mon Sep 17 00:00:00 2001 From: Arnie Date: Wed, 30 Oct 2024 09:29:08 +0100 Subject: [PATCH] Fix initialization of eslint config --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 81196eb..b03dd12 100644 --- a/flake.nix +++ b/flake.nix @@ -73,13 +73,13 @@ devShells = nix.lib.forAllSystems (pkgs: { default = nix.lib.mkDevenvShell { + inherit pkgs; + inputs = { self = self; nixpkgs = pkgs; }; - pkgs = pkgs; - modules = [ { packages = [ @@ -88,7 +88,7 @@ ]; enterShell = '' - cp ${nix.lib.eslint-config-file} ./app/frontend/eslint.shared.mjs + cp -f ${nix.lib.eslint-config-file} ./app/frontend/eslint.shared.mjs ''; scripts = {