From c3efede502f0f9ba3b03195ac8f30fff0376c8ab Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Thu, 18 Jan 2024 12:40:28 -0600 Subject: Libify ocaml, add buttons to interaction. --- sandboxed-discocaml.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sandboxed-discocaml.sh') diff --git a/sandboxed-discocaml.sh b/sandboxed-discocaml.sh index 04bd744..142097e 100755 --- a/sandboxed-discocaml.sh +++ b/sandboxed-discocaml.sh @@ -11,11 +11,11 @@ cleanup() trap cleanup EXIT rm "$tmp" -nix build -o "$tmp" .#discocaml +nix build -L -o "$tmp" .#discocaml bindir="$(realpath "$tmp")/bin" exec \ -timeout 10 \ -env -i \ -"$(which bwrap)" --unshare-all --ro-bind "$bindir" "/" \ -"/discocaml" "$@" + timeout 10 \ + env -i \ + "$(which bwrap)" --unshare-all --ro-bind "$bindir" "/" \ + "/discocaml" "$@" -- cgit v1.2.3