From 73a6dba219a85a501711e02f0034488d09988bb1 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 5 Aug 2024 19:07:29 +0800 Subject: [PATCH] wrapper-manager/sandboxing/bubblewrap: fix filesystem path types To enable arguments containing environment variables but at the cost of lack of validation. I'm fine with this. --- .../wrapper-manager/sandboxing/bubblewrap/filesystem.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/wrapper-manager/sandboxing/bubblewrap/filesystem.nix b/modules/wrapper-manager/sandboxing/bubblewrap/filesystem.nix index 6da82f7e..f9471da6 100644 --- a/modules/wrapper-manager/sandboxing/bubblewrap/filesystem.nix +++ b/modules/wrapper-manager/sandboxing/bubblewrap/filesystem.nix @@ -21,7 +21,7 @@ let filesystemSubmodule = { config, lib, name, ... }: { options = { source = lib.mkOption { - type = lib.types.path; + type = lib.types.str; description = '' The source of the path to be copied from. ''; @@ -86,7 +86,7 @@ let binds = { ro = lib.mkOption { - type = with lib.types; listOf path; + type = with lib.types; listOf str; default = [ ]; description = if isGlobal @@ -104,7 +104,7 @@ let }; rw = lib.mkOption { - type = with lib.types; listOf path; + type = with lib.types; listOf str; default = [ ]; description = if isGlobal @@ -118,7 +118,7 @@ let }; dev = lib.mkOption { - type = with lib.types; listOf path; + type = with lib.types; listOf str; default = [ ]; description = if isGlobal