bazel_rules_qt VS nixpkgs

Compare bazel_rules_qt vs nixpkgs and see what are their differences.

bazel_rules_qt

Bazel rules for Qt5 (by justbuchanan)

nixpkgs

Nix Packages collection (by NixOS)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
bazel_rules_qt nixpkgs
1 776
41 11,328
- 2.4%
0.8 10.0
12 months ago 5 days ago
Starlark Nix
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bazel_rules_qt

Posts with mentions or reviews of bazel_rules_qt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-23.
  • Incremental Builds for Haskell with Bazel
    7 projects | news.ycombinator.com | 23 Jun 2022
    I migrated a mid-size polyglot project from Makefiles to Bazel and C++ was a large component of the project.

    Some obstacles:

    1. Building with QT5 MOC & UI files. There is a great library[0] for it but it has hardcoded paths to the QT binaries and header files assuming a system-wide installation. I had to patch the rule to point to our QT location. Then it worked fine.

    2. There is no rule to build a fully static library[1]. Since we were shipping a static library in our Makefile system, that was somewhat annoying.

    3. We were using system links like `$PROJECT_ROOT/links/GCC/vX.Y.Z/ -> /opt/gcc/...` to point to all the build tools, but these didn't work in Bazel I think because it required absolute paths for any binaries it calls. We ended up putting them in a .bazelrc but we would need a different one for Windows and Linux.

    4. Not good integration with IDEs

    Ultimately we did not keep using Bazel because we were building Python binaries and py_binary was too slow on Windows. And we didn't have enough time to write a PyInstaller rule.

    [0]: https://github.com/justbuchanan/bazel_rules_qt

    [1]: https://github.com/bazelbuild/bazel/issues/1920

nixpkgs

Posts with mentions or reviews of nixpkgs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-06.
  • Trouble with sxhkd (bspwm)
    4 projects | reddit.com/r/NixOS | 6 Feb 2023
    I haven't really used bspwm and sxhkd, but from nixpkgs it seems all the inputs from *.configFile just get used in a command such as $ sxhkd/bspw -c . So I'm guessing, if it's possible to run a complete config through a single command, you should write it up like such and not like the actual config file. It probably just works with bspwm because its a single command.
    4 projects | reddit.com/r/NixOS | 6 Feb 2023
    I'm beginning to think that i don't fully understand this line of the nixpkgs :
  • Ask HN: Is anyone successfully self-hosting Firefox Sync?
    10 projects | news.ycombinator.com | 6 Feb 2023
    I briefly considered it, but there are some big problems:

    - The new replacement package, syncserver-rs, has already been added to Nixpkgs with a NixOS module [0]

    - Python 2 and the package itself are no longer supported, meaning...

    - support in Nixpkgs is pretty rough - dependencies have been updated such that they no longer support Python 2, or have been removed outright, meaning...

    - syncserver has already been removed from Nixpkgs

    - in order to avoid the problem of unsupported dependencies, I delegated it to a community project, poetry2nix[1]. Even so,it was a nightmare to get working, lots of hacks and workarounds were needed

    Of course, my repo is public, so anyone is welcome to use the Flake within. If they do, I'd suggest dropping me a line so I don't do anything drastic to the package or module.

    [0] https://github.com/NixOS/nixpkgs/pull/176835

  • polkit auth agent troubles
    2 projects | reddit.com/r/voidlinux | 4 Feb 2023
  • Working power.ups/NUT netserver config for NixOS 22.11
    3 projects | reddit.com/r/NixOS | 2 Feb 2023
    I'm also working on power.ups improvements in this PR https://github.com/NixOS/nixpkgs/pull/213006 so please let me know your painpoints and wishlist items.
    3 projects | reddit.com/r/NixOS | 2 Feb 2023
    Took newAM's standalone config from here: https://github.com/NixOS/nixpkgs/issues/91681 and heavily modified it to make it work over a lan.
  • Package availability
    3 projects | reddit.com/r/NixOS | 30 Jan 2023
    I already filed an issue: https://github.com/NixOS/nixpkgs/issues/201507
    3 projects | reddit.com/r/NixOS | 30 Jan 2023
    PiHole-wise there are a bunch of 3rd party solutions on the pull request. I don't know enough about pihole to discuss them though.
  • [Question] unable to install packages after computer crash
    2 projects | reddit.com/r/NixOS | 30 Jan 2023
  • Ask HN: What Next After Ubuntu?
    7 projects | news.ycombinator.com | 29 Jan 2023
    I'd say it's really about the documentation, including "unofficial" documentation like bug reports and SO questions. Part of why Ubuntu is so popular is because there's enough of a community that whatever issue you hit, someone's probably already hit it before and asked about it on SO, where it has a highly upvoted answer that fixes the issue and explains it. That's also why NixOS seemed like a better choice than Guix to me.

    One thing I ran into was setting up a Python project using poetry2nix. Mostly works great, but then you sometimes get inscrutable error messages. I had to copy this into a shell.nix file for reasons that aren't entirely clear to me (and I had to hunt it down from https://github.com/NixOS/nixpkgs myself instead of finding docs or a bug report):

        astunparse = super.astunparse.overridePythonAttrs

What are some alternatives?

When comparing bazel_rules_qt and nixpkgs you can also consider the following projects:

asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

Home Manager using Nix - Manage a user environment using Nix [[email protected]]

git-lfs - Git extension for versioning large files

easyeffects - Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications

daedalus - The open source cryptocurrency wallet for ada, built to grow with the community

youtube-dl-gui - A cross-platform GUI for youtube-dl made in Electron and node.js

devshell - Per project developer environments

HomeBrew - 🍺 The missing package manager for macOS (or Linux)

nonguix

nixos - My NixOS Configurations

Emu68 - M68K emulation for AArch64/AArch32

spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.