-
Notifications
You must be signed in to change notification settings - Fork 34
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
robwoolley
wants to merge
25
commits into
ros-infrastructure:master
Choose a base branch
from
robwoolley:nixos-support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
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
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.
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.