From 67520f5ecb91a8d96b5324174f9753d4a7f7b759 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 26 Sep 2022 16:29:04 +0200 Subject: pkgs/profpatsch: Fix attribute name for util-linux This attribute has been renamed a while ago[1] but recently even the alias was removed[2], which now triggers an evaluation error in Vuizvui. [1]: https://github.com/NixOS/nixpkgs/commit/bc49a0815ae860010b4d593b02f [2]: https://github.com/NixOS/nixpkgs/commit/ba3319568df2c6675dbe36478fb Signed-off-by: aszlig Cc: @Profpatsch --- pkgs/profpatsch/sandbox.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/profpatsch/sandbox.nix b/pkgs/profpatsch/sandbox.nix index a89f5e59..c0c8ce70 100644 --- a/pkgs/profpatsch/sandbox.nix +++ b/pkgs/profpatsch/sandbox.nix @@ -23,8 +23,8 @@ let ] ++ extraMounts; # chain execlines and exit immediately if one fails all = builtins.concatMap (c: [ "if" c ]); - mount = "${pkgs.utillinux}/bin/mount"; - unshare = "${pkgs.utillinux}/bin/unshare"; + mount = "${pkgs.util-linux}/bin/mount"; + unshare = "${pkgs.util-linux}/bin/unshare"; # this is the directory the sandbox runs under (in a separate mount namespace) newroot = pkgs.runCommandLocal "sandbox-root" {} ''mkdir "$out"''; # this runs in a separate namespace, sets up a chroot root -- cgit 1.4.1