From 3e337302f9fa93a3496aafd7f57223cbd794de28 Mon Sep 17 00:00:00 2001 From: euxane Date: Sun, 6 Oct 2024 01:02:33 +0200 Subject: channel: update for nixos 24.05 --- lib/mk-sandbox-system.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/mk-sandbox-system.nix b/lib/mk-sandbox-system.nix index 9408be3..68a13a7 100644 --- a/lib/mk-sandbox-system.nix +++ b/lib/mk-sandbox-system.nix @@ -11,7 +11,7 @@ let shellLib = flake.lib.shell { inherit pkgs; }; print = rec { - printSharedDir = name: { source, target }: '' + printSharedDir = name: { source, target, ... }: '' echo -en ${shellLib.fmt.keyword target}": " echo ${pkgs.lib.escapeShellArg source} ''; @@ -118,7 +118,7 @@ in rec { apps.${name} = { type = "app"; - program = toString (pkgs.writeShellScript "sandbox-vm" ('' + program = pkgs.lib.getExe (pkgs.writeShellScriptBin "sandbox-vm" ('' # Save current directory for mounting in VM SHARED_CWD=$PWD export SHARED_CWD -- cgit v1.2.3