nixos/firejail: Fix order of extrsArgs before profile wrappedBinaries option

This commit is contained in:
Jonas Heinrich 2022-03-01 12:58:04 +01:00 committed by Yt
parent c9302fdce0
commit 9a30f53ffe

View file

@ -17,8 +17,8 @@ let
then value
else { executable = value; profile = null; extraArgs = []; };
args = lib.escapeShellArgs (
(optional (opts.profile != null) "--profile=${toString opts.profile}")
++ opts.extraArgs
opts.extraArgs
++ (optional (opts.profile != null) "--profile=${toString opts.profile}")
);
in
''