mongodb-compass: 1.17.0 -> 1.22.1 #98198
Merged
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.
Fixes segmentation fault and upgrades the package
Motivation for this change
MongoDB Compass was marked as broken in release 20.03 due to a segmentation fault. Apparently there was an issue with setuid of the chromium executable.
I followed the PKGBUILD from the AUR package of mongodb-compass and changed the build accordingly, while also upgrading the package version.
I use this build successfully as a package override on my 20.03 installation and I thought of contributing my code to the community. I hope this will work with unstable as well.
I haven't updated meta.maintainer because I'm not the original author of this file.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)