mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
bootiso: add missing dependencies
This commit is contained in:
parent
9a3f486709
commit
fb754bad11
@ -5,6 +5,8 @@
|
|||||||
, makeWrapper
|
, makeWrapper
|
||||||
, bc
|
, bc
|
||||||
, jq
|
, jq
|
||||||
|
, coreutils
|
||||||
|
, util-linux
|
||||||
, wimlib
|
, wimlib
|
||||||
, file
|
, file
|
||||||
, syslinux
|
, syslinux
|
||||||
@ -26,15 +28,12 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
buildInputs = [ bash ];
|
buildInputs = [ bash ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
postPatch = ''
|
|
||||||
patchShebangs --host bootiso
|
|
||||||
'';
|
|
||||||
|
|
||||||
makeFlags = [ "prefix=${placeholder "out"}" ];
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/bootiso \
|
wrapProgram $out/bin/bootiso \
|
||||||
--prefix PATH : ${lib.makeBinPath [ bc jq wimlib file syslinux gnugrep busybox ]} \
|
--prefix PATH : ${lib.makeBinPath [ bc jq coreutils util-linux wimlib file syslinux gnugrep busybox ]} \
|
||||||
--prefix BOOTISO_SYSLINUX_LIB_ROOT : ${syslinux}/share/syslinux
|
--prefix BOOTISO_SYSLINUX_LIB_ROOT : ${syslinux}/share/syslinux
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user