Move su to the base packages of chrootenv builder
This commit is contained in:
parent
5a03d5b3a9
commit
104c841c85
@ -1,10 +1,12 @@
|
||||
{stdenv, glibc, glibcLocales, gcc, coreutils, diffutils, findutils, gnused, gnugrep, gnutar, gzip, bzip2,
|
||||
bashInteractive, xz, shadow, gawk, less, buildEnv}:
|
||||
bashInteractive, xz, shadow, gawk, less, su, buildEnv}:
|
||||
{name, pkgs ? [], profile ? ""}:
|
||||
|
||||
let
|
||||
basePkgs = [ glibc glibcLocales gcc coreutils diffutils findutils gnused gnugrep gnutar gzip bzip2
|
||||
bashInteractive xz shadow gawk less ];
|
||||
basePkgs = [
|
||||
glibc glibcLocales gcc coreutils diffutils findutils gnused gnugrep gnutar
|
||||
gzip bzip2 bashInteractive xz shadow gawk less su
|
||||
];
|
||||
|
||||
# Compose a global profile for the chroot environment
|
||||
profilePkg = stdenv.mkDerivation {
|
||||
|
@ -1,10 +1,10 @@
|
||||
{ buildFHSChrootEnv, steam
|
||||
, xterm, libX11, zenity, python, mesa, xdg_utils, dbus_tools, alsaLib, su
|
||||
, xterm, libX11, zenity, python, mesa, xdg_utils, dbus_tools, alsaLib
|
||||
}:
|
||||
|
||||
buildFHSChrootEnv {
|
||||
name = "steam";
|
||||
pkgs = [ steam xterm libX11 zenity python mesa xdg_utils dbus_tools alsaLib su ];
|
||||
pkgs = [ steam xterm libX11 zenity python mesa xdg_utils dbus_tools alsaLib ];
|
||||
profile = ''
|
||||
export LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/lib
|
||||
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
||||
|
@ -270,7 +270,7 @@ let
|
||||
buildFHSChrootEnv = import ../build-support/build-fhs-chrootenv {
|
||||
inherit stdenv glibc glibcLocales gcc coreutils diffutils findutils;
|
||||
inherit gnused gnugrep gnutar gzip bzip2 bashInteractive xz shadow gawk;
|
||||
inherit less buildEnv;
|
||||
inherit less su buildEnv;
|
||||
};
|
||||
|
||||
dotnetenv = import ../build-support/dotnetenv {
|
||||
|
Loading…
Reference in New Issue
Block a user