# openwrt-buildroot-nix This provides a Nix environment for [OpenWRT Buildroot](https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem). ## Usage ``` nix develop git+https://git.clerie.de/clerie/openwrt-buildroot-nix.git ``` ## Troubleshooting ### Dependencies cannot be found randomly OpenWRT buildroot seem to hardcode paths it found for dependencies. If the nix environment gets changed these paths change too. Clean the build environment to get it working again: ``` make dirclean ```