diff --git a/pkgs/by-name/to/toybox/package.nix b/pkgs/by-name/to/toybox/package.nix index 710a01b3f7d7..1f8c37ee822e 100644 --- a/pkgs/by-name/to/toybox/package.nix +++ b/pkgs/by-name/to/toybox/package.nix @@ -43,7 +43,6 @@ stdenv.mkDerivation (finalAttrs: { postPatch = "patchShebangs ."; inherit extraConfig; - passAsFile = [ "extraConfig" ]; configurePhase = '' make ${ @@ -57,7 +56,8 @@ stdenv.mkDerivation (finalAttrs: { "defconfig" } - cat $extraConfigPath .config > .config- + printf "%s" "$extraConfig" > .config- + cat .config >> .config- mv .config- .config make oldconfig @@ -87,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: { env.NIX_CFLAGS_COMPILE = "-Wno-error"; + __structuredAttrs = true; + meta = { description = "Lightweight implementation of some Unix command line utilities"; homepage = "https://landley.net/toybox/";