lxcfs: lxc.mount.hook: add coreutils to PATH
This commit is contained in:
parent
c2a12db1a4
commit
8923ec72b5
@ -12,6 +12,7 @@
|
||||
pkg-config,
|
||||
python3,
|
||||
util-linux,
|
||||
coreutils,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -51,8 +52,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# `mount` hook requires access to the `mount` command from `util-linux`:
|
||||
wrapProgram "$out/share/lxcfs/lxc.mount.hook" --prefix PATH : "${util-linux}/bin"
|
||||
# `mount` hook requires access to the `mount` command from `util-linux` and `readlink` from `coreutils`:
|
||||
wrapProgram "$out/share/lxcfs/lxc.mount.hook" --prefix PATH : ${lib.makeBinPath [ coreutils util-linux ]}
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user