about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/cd-dvd/bootiso/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/cd-dvd/bootiso/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/cd-dvd/bootiso/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/tools/cd-dvd/bootiso/default.nix b/nixpkgs/pkgs/tools/cd-dvd/bootiso/default.nix
index e6a902488599..5acb901a5494 100644
--- a/nixpkgs/pkgs/tools/cd-dvd/bootiso/default.nix
+++ b/nixpkgs/pkgs/tools/cd-dvd/bootiso/default.nix
@@ -5,6 +5,8 @@
 , makeWrapper
 , bc
 , jq
+, coreutils
+, util-linux
 , wimlib
 , file
 , syslinux
@@ -26,15 +28,12 @@ stdenvNoCC.mkDerivation rec {
   strictDeps = true;
   buildInputs = [ bash ];
   nativeBuildInputs = [ makeWrapper ];
-  postPatch = ''
-    patchShebangs --host bootiso
-  '';
 
   makeFlags = [ "prefix=${placeholder "out"}" ];
 
   postInstall = ''
     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
   '';