interesting. I hate the way modemmanager is on by default on ubuntu, cos you always see it popping up in htop. i really don’t know who uses modemmanager anyway. is it for like LTE or something?
Labrador updated and passing all tests
master ← randomizedcoder:Labrador
opened 04:20PM - 05 Jan 26 UTC
## Summary
Add [EspoTek Labrador](https://github.com/espotek-org/Labrador) - … an open-source USB device that turns your PC into a full-featured electronics lab bench with oscilloscope, signal generator, logic analyzer, and multimeter functionality.
This package builds the Qt5 desktop application for interfacing with the Labrador hardware.
### Features
- **Cross-platform**: Supports Linux (x86_64, aarch64, i686, armv7l) and macOS (Darwin)
- **Firmware updates**: Includes bundled libdfuprog library
- **Complete installation**: Firmware files, waveforms, icons, and desktop file
### udev rules (Linux)
For non-root USB access, users need to add udev rules. On NixOS:
```nix
services.udev.extraRules = ''
ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="ba94", MODE="0666"
ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="a000", MODE="0666"
ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="2fe4", MODE="0666"
'';
```
### Build verification
```
$ nix-build -A labrador
/nix/store/...-labrador-0-unstable-2026-01-05
$ ls result/bin/
labrador
$ ldd result/bin/.labrador-wrapped | grep -E "(Qt|fftw|usb)"
libfftw3_omp.so.3 => /nix/store/...-fftw-double-3.3.10/lib/libfftw3_omp.so.3
libusb-1.0.so.0 => /nix/store/...-libusb-1.0.29/lib/libusb-1.0.so.0
libfftw3.so.3 => /nix/store/...-fftw-double-3.3.10/lib/libfftw3.so.3
libQt5PrintSupport.so.5 => /nix/store/...-qtbase-5.15.18/lib/libQt5PrintSupport.so.5
libQt5Widgets.so.5 => /nix/store/...-qtbase-5.15.18/lib/libQt5Widgets.so.5
libQt5Gui.so.5 => /nix/store/...-qtbase-5.15.18/lib/libQt5Gui.so.5
libQt5Core.so.5 => /nix/store/...-qtbase-5.15.18/lib/libQt5Core.so.5
```
Application launches successfully and scans for USB device (expected "DEVICE NOT FOUND" without hardware connected).
---
## Things done
- Built on platform:
- [x] x86_64-linux
- [ ] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- Tested, as applicable:
- [ ] [NixOS tests] in [nixos/tests].
- [ ] [Package tests] at `passthru.tests`.
- [ ] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
- [ ] Ran `nixpkgs-review` on this PR. See [nixpkgs-review usage].
- [x] Tested basic functionality of all binary files, usually in `./result/bin/`.
- Nixpkgs Release Notes
- [ ] Package update: when the change is major or breaking.
- NixOS Release Notes
- [ ] Module addition: when adding a new NixOS module.
- [ ] Module update: when the change is significant.
- [x] Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.
[NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
[Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
[nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage
[CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
[lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
[maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
[nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
[pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
[pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test
First time contributor here, have no idea if it’s appropriate to post this here (due to timing, being new, etc), so please let me know what standard procedure is.
At my company I am one of two neovim users on NixOS that use the ansible-language-server as I have it packaged in this PR here. There’s 4k+ companies using ansible, so I’d like to think there are more people out there that could benefit from this package being available.
Anyways, appreciate any and all feedback!
master ← dtvillafana:ansible-language-server
opened 05:13PM - 17 Feb 26 UTC
Adding the ansible-language-server package, it builds the LSP in the vscode-ansi… ble monorepo by using the proper workspaces needed to only build the LSP and not other packages in the monorepo.
I have been using this package in my neovim/nixvim configuration for quite some time now, and I figured I would upstream it.
This is my first attempt at contributing to nixpkgs so feel free to be blunt and candid.
## Things done
- Built on platform:
- [X] x86_64-linux
- [X] aarch64-linux
- [X] x86_64-darwin
- [X] aarch64-darwin
- Tested, as applicable:
- [x] [NixOS tests] in [nixos/tests].
- [x] [Package tests] at `passthru.tests`.
- [x] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
- [x] Ran `nixpkgs-review` on this PR. See [nixpkgs-review usage].
- [x] Tested basic functionality of all binary files, usually in `./result/bin/`.
- Nixpkgs Release Notes
- [x] Package update: when the change is major or breaking.
- NixOS Release Notes
- [x] Module addition: when adding a new NixOS module.
- [x] Module update: when the change is significant.
- [X] Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.
[NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
[Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
[nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage
[CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
[lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
[maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
[nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
[pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
[pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test
1 Like
PR to enable command-not-found module by default if possible.
master ← leana8959:enable-command-not-found
opened 08:56PM - 11 Feb 26 UTC
NixOS module "command-not-found" was disabled in #416425 because it didn't integ… rate out-of-the-box with flakes. This PR resolves this issue by pointing `dbPath` to the programs.sqlite in the nixpkgs sources.
Concretely:
- If you use flakes/npins/niv with channel releases: command-not-found will now work out of the box.
- If you use flakes/npins/niv with non channel releases (e.g. github releases): command-not-found will be disabled by default.
- If you use channels: command-not-found will work as previously, but you need to nixos-rebuild after updating the channel to get the script to point to the new programs.sqlite from the new nixpkgs.
## Implementation details
`programs.command-not-found.dbPath` now points to the database in the nixpkgs source (likely in the store). Only if this database exists, `programs.command-not-found.enable` will default to true. This also guarantees that the script uses the programs.sqlite database of the very same nixpkgs used to evaluate the system, providing more coherent results out-of-the-box.
I tested this by copying a `programs.sqlite` to the root of nixpkgs, similar to a release expression. The fish handler for unknown command builds and works correctly.
If this patch is accepted, we would need to revert #438654 which disables command-not-found for a perl-less build.
## Things done
- Built on platform:
- [x] x86_64-linux
- [ ] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- Tested, as applicable:
- [ ] [NixOS tests] in [nixos/tests].
- [ ] [Package tests] at `passthru.tests`.
- [ ] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
- [ ] Ran `nixpkgs-review` on this PR. See [nixpkgs-review usage].
- [x] Tested basic functionality of all binary files, usually in `./result/bin/`.
- Nixpkgs Release Notes
- [ ] Package update: when the change is major or breaking.
- NixOS Release Notes
- [ ] Module addition: when adding a new NixOS module.
- [x] Module update: when the change is significant.
- [ ] Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.
[NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
[Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
[nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage
[CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
[lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
[maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
[nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
[pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
[pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test
Hi, I’m trying to get a Linux driver for TourBox devices upstreamed as a package. If this gets upstreamed, I would try to contribute a program module too.
master ← Compile-Time:tuxbox
opened 01:00PM - 14 Feb 26 UTC
# TuxBox
This pull request adds [TuxBox](https://github.com/AndyCappDev/tuxbo… x) - a Linux driver for TourBox devices - to nixpkgs.
This packages is only manually tested since it requires TourBox hardware for proper testing.
## Things done
- Built on platform:
- [x] x86_64-linux
- [ ] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- Tested, as applicable:
- [ ] [NixOS tests] in [nixos/tests].
- [ ] [Package tests] at `passthru.tests`.
- [ ] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
- [x] Ran `nixpkgs-review` on this PR. See [nixpkgs-review usage].
- [x] Tested basic functionality of all binary files, usually in `./result/bin/`.
- Nixpkgs Release Notes
- [ ] Package update: when the change is major or breaking.
- NixOS Release Notes
- [ ] Module addition: when adding a new NixOS module.
- [ ] Module update: when the change is significant.
- [x] Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.
[NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
[Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
[nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage
[CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
[lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
[maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
[nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
[pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
[pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test