From 31d4b9561ec13a0c8a22f24c373d031795b3b129 Mon Sep 17 00:00:00 2001 From: reo101 Date: Tue, 17 Oct 2023 08:21:33 +0300 Subject: [PATCH] fix(macos): nix string escaping --- modules/nix-darwin/system/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nix-darwin/system/default.nix b/modules/nix-darwin/system/default.nix index e614c7c..4ae0491 100644 --- a/modules/nix-darwin/system/default.nix +++ b/modules/nix-darwin/system/default.nix @@ -175,7 +175,7 @@ in echo "Allow apps from anywhere" SPCTL="$(spctl --status)" - if ! [ "$\{SPCTL}" = "assessments disabled" ]; then + if ! [ "''$''\{SPCTL''\}" = "assessments disabled" ]; then sudo spctl --master-disable fi