bazel_rules_qt
nixpkgs
Our great sponsors
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 |
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
-
Incremental Builds for Haskell with Bazel
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.
nixpkgs
-
Trouble with sxhkd (bspwm)
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.
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?
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.
- polkit auth agent troubles
-
Working power.ups/NUT netserver config for NixOS 22.11
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.
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
I already filed an issue: https://github.com/NixOS/nixpkgs/issues/201507
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
-
Ask HN: What Next After Ubuntu?
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?
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.