OpenWRT: Difference between revisions

imported>Astro
imported>Flokli
No edit summary
Line 5: Line 5:
== Using ImageBuilder in nix-shell ==
== Using ImageBuilder in nix-shell ==
Get a copy of: https://github.com/nix-community/nix-environments/blob/master/envs/openwrt/shell.nix
Get a copy of: https://github.com/nix-community/nix-environments/blob/master/envs/openwrt/shell.nix
{{warning|Currently (2023-04-17), the openwrt build fails with a "/usr/lib/libuuid.so: file not recognized: file format not recognized".}}


Currently (01/2022) I've tested builds using nixpkgs-21.11 and unstable, and both worked. This could possibly break/behave different in the future so you can e.g. pin to an older nixpkgs-revision by replacing the first lines of the above code with this:
Currently (01/2022) I've tested builds using nixpkgs-21.11 and unstable, and both worked. This could possibly break/behave different in the future so you can e.g. pin to an older nixpkgs-revision by replacing the first lines of the above code with this: