From 89fa20aaf751e154f7a0c7fbcbd8491a13397778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 21 Mar 2024 08:24:48 +0000 Subject: [PATCH] fix #1024 --- src/modules/integrations/pre-commit.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/integrations/pre-commit.nix b/src/modules/integrations/pre-commit.nix index b57f12ab7..4c14af786 100644 --- a/src/modules/integrations/pre-commit.nix +++ b/src/modules/integrations/pre-commit.nix @@ -23,7 +23,7 @@ enterTest = '' pre-commit run -a ''; - packages = [ config.pre-commit.package ] ++ config.pre-commit.enabledPackages; + packages = [ config.pre-commit.package ] ++ (config.pre-commit.enabledPackages or [ ]); enterShell = config.pre-commit.installationScript; }; }