diff --git a/pkgs/by-name/ho/hostapd/package.nix b/pkgs/by-name/ho/hostapd/package.nix index 485a075cf30c..1d6b53f4c8a0 100644 --- a/pkgs/by-name/ho/hostapd/package.nix +++ b/pkgs/by-name/ho/hostapd/package.nix @@ -103,12 +103,10 @@ stdenv.mkDerivation (finalAttrs: { CONFIG_SQLITE=y ''; - passAsFile = [ "extraConfig" ]; - configurePhase = '' cd hostapd cp -v defconfig .config - cat $extraConfigPath >> .config + printf "%s" "$extraConfig" >> .config cat -n .config substituteInPlace Makefile --replace /usr/local $out export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libnl-3.0)" @@ -124,6 +122,8 @@ stdenv.mkDerivation (finalAttrs: { inherit (nixosTests) wpa_supplicant; }; + __structuredAttrs = true; + meta = { homepage = "https://w1.fi/hostapd/"; description = "User space daemon for access point and authentication servers";