add kmod to sysbox
This commit is contained in:
parent
68d1456b45
commit
9e291aea76
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
, rsync
|
, rsync
|
||||||
, iptables
|
, iptables
|
||||||
, jq
|
, jq
|
||||||
|
, kmod
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
@ -57,7 +58,7 @@ stdenv.mkDerivation rec {
|
||||||
for p in "$out/bin/"*; do
|
for p in "$out/bin/"*; do
|
||||||
wrapProgram "$p" \
|
wrapProgram "$p" \
|
||||||
--set NIX_REDIRECTS "/usr/share=$out/share:/usr/bin=$out/bin" \
|
--set NIX_REDIRECTS "/usr/share=$out/share:/usr/bin=$out/bin" \
|
||||||
--prefix PATH : "${lib.makeBinPath [ fuse rsync iptables lsb-release jq ]}"
|
--prefix PATH : "${lib.makeBinPath [ fuse rsync iptables lsb-release jq kmod ]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue