From 3788ae5938ecb0d90ae1c5ba313d3ce91a1e6e82 Mon Sep 17 00:00:00 2001 From: Akira Komamura Date: Mon, 11 Nov 2024 01:49:32 +0900 Subject: [PATCH] fix: Fix the wrong patch from statix --- pkgs/build-support/elisp/parseUsePackages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/elisp/parseUsePackages.nix b/pkgs/build-support/elisp/parseUsePackages.nix index 8fa99bb..fbc193a 100644 --- a/pkgs/build-support/elisp/parseUsePackages.nix +++ b/pkgs/build-support/elisp/parseUsePackages.nix @@ -10,8 +10,8 @@ with builtins; let else if head xs == key then elemAt xs 1 else plistGet (tail xs) key; - isEnsured = form: alwaysEnsure || plistGet form ":ensure"; - isEnabled = form: !plistGet form ":disabled"; + isEnsured = form: alwaysEnsure || (plistGet form ":ensure"); + isEnabled = form: !(plistGet form ":disabled"); ensuredPackageName = form: plistGet form ":ensure"; findPin = form: plistGet form ":pin"; isUsePackageForm = xs: