Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge NixOS support (#2) #309

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

robwoolley
Copy link
Contributor

NixOS is used by Clearpath Robotics and other developers. The creator of the NixOS support expressed interest in merging the changes upstream. The work has been tested with the following commands:

git clone https://github.com/lopsided98/nix-ros-overlay $HOME/nix-ros-overlay

superflore-gen-nix
--output-repository-path $HOME/nix-ros-overlay
--upstream-branch develop
--all
--dry-run

This second PR differs in that it is rebased on a commit that provides pep8 fixes that allow the CI to pass.

robwoolley and others added 25 commits December 11, 2024 10:35
The CI system picked up non-conformance issues with recent changes
to the ebuild generator.

Fix lines that exceed 79 characters and remove an used chunk_count
variable.

Signed-off-by: Rob Woolley <[email protected]>
This makes Nix package generation nearly 4 times faster, if tarballs are already
cached. Some of the optimizations also apply to other distros, but the
performance impact there was not tested.
GitLab returns a 403 error if the default urllib user agent is used.
This allows conditions in package.xml to be evaluated correctly. Mostly
copied from the Bitbake generator.
This is required to make strictDeps/cross-compilation work.
This name better represents what this class does, which is to generate the
actual text of a Nix expression for a package.
The license translation logic has changed, and adds a hyphen to unknown
licenses. Also, add a test for the public domain license.
When --all is specified, generate for rolling as well.
The license string in the generated nix package file was broken when the
license name contained quote.

It has been fixed. Backslash and the sequence "dollar opening bracket"
have been escaped too.
Use the same function to escape the description string as is used for
the license string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants