From 09257f97823e9a57cda749c2d5a69b18ef484cec Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 29 Aug 2015 00:19:52 +0200 Subject: tv: use only pkgs --- tv/2configs/test.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tv/2configs/test.nix') diff --git a/tv/2configs/test.nix b/tv/2configs/test.nix index fa556ec78..409b4e9b4 100644 --- a/tv/2configs/test.nix +++ b/tv/2configs/test.nix @@ -3,8 +3,6 @@ with import ../4lib { inherit lib pkgs; }; let - tvpkgs = import ../5pkgs { inherit lib pkgs; }; - out = { environment.systemPackages = [ su-test @@ -17,12 +15,12 @@ let }; }; - su-test = tvpkgs.execveBin "su-test" rec { + su-test = pkgs.execveBin "su-test" rec { filename = "/var/setuid-wrappers/sudo"; argv = ["sudo" "-u" "test" "-i"]; }; - test-shell = tvpkgs.execve "test-shell" rec { + test-shell = pkgs.execve "test-shell" rec { filename = "${pkgs.bash}/bin/bash"; argv = ["sh" "--noprofile" "-l"]; envp.ENV = pkgs.writeText "test-env" '' -- cgit v1.2.3