Loading pkgs/by-name/ip/ipxe/package.nix +19 −16 Original line number Diff line number Diff line Loading @@ -112,7 +112,8 @@ stdenv.mkDerivation (finalAttrs: { buildFlags = lib.attrNames targets; installPhase = '' installPhase = '' runHook preInstall mkdir -p $out Loading @@ -121,11 +122,13 @@ stdenv.mkDerivation (finalAttrs: { from: to: if to == null then "cp -v ${from} $out" else "cp -v ${from} $out/${to}" ) targets )} '' + lib.optionalString stdenv.hostPlatform.isx86 '' # Some PXE constellations especially with dnsmasq are looking for the file with .0 ending # let's provide it as a symlink to be compatible in this case. ln -s undionly.kpxe $out/undionly.kpxe.0 '' + '' runHook postInstall ''; Loading Loading
pkgs/by-name/ip/ipxe/package.nix +19 −16 Original line number Diff line number Diff line Loading @@ -112,7 +112,8 @@ stdenv.mkDerivation (finalAttrs: { buildFlags = lib.attrNames targets; installPhase = '' installPhase = '' runHook preInstall mkdir -p $out Loading @@ -121,11 +122,13 @@ stdenv.mkDerivation (finalAttrs: { from: to: if to == null then "cp -v ${from} $out" else "cp -v ${from} $out/${to}" ) targets )} '' + lib.optionalString stdenv.hostPlatform.isx86 '' # Some PXE constellations especially with dnsmasq are looking for the file with .0 ending # let's provide it as a symlink to be compatible in this case. ln -s undionly.kpxe $out/undionly.kpxe.0 '' + '' runHook postInstall ''; Loading