Open
Conversation
Run this only when a PR is created, so either author or anyone who can edit the PR message (all maintainers) can trigger such build. Instead of maintaining it in the main repository, move it to the external repository to bloat this repository less with further CI commits. Signed-off-by: Paul Spooren <mail@aparcar.org>
Add Nix configuration files to create reproducible Docker containers with all OpenWrt build dependencies. This includes: - openwrt-build-env.nix: Ubuntu-based Docker image using Nix - nix/docker-image.nix: Pure Nix-based Docker image (fully reproducible) - flake.nix: Modern Nix flakes configuration - shell.nix: Development shell for direct use without Docker - Dockerfile: Standard Docker build for users without Nix Tool versions are extracted from the tools/ folder, including: autoconf 2.72, automake 1.18.1, cmake 4.2.0, ninja 1.13.2, meson 1.6.1, ccache 4.12.1, llvm-bpf 21.1.6, and 60+ more. Also adds Nix build artifacts to .gitignore.
Remove Ubuntu-based files and keep only pure Nix Docker image with OpenWrt build dependencies and tools from tools/ folder. Files: - nix/docker-image.nix: Pure Nix Docker image - flake.nix: Nix flakes (docker + dev shell) - shell.nix: Development shell Removed Ubuntu-based Dockerfile and openwrt-build-env.nix as requested.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for your contribution to OpenWrt!
To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://openwrt.org/submitting-patches
Please remove this message before posting the pull request.