Skip to content

Conversation

@drupol
Copy link
Contributor

@drupol drupol commented Nov 30, 2025

To build and test it

Nix:

nix-build -I nixpkgs=https://github.com/drupol/nixpkgs/archive/push-wlqrwpmskyvt.tar.gz '<nixpkgs>' -p meshtasticd`
./result/bin/meshtasticd
Build it with default config
nix-build -I nixpkgs=https://github.com/drupol/nixpkgs/archive/push-wlqrwpmskyvt.tar.gz --expr "let pkgs = import <nixpkgs> {}; in (pkgs.meshtasticd.overrideAttrs ({enableDefaultConfig = true;}))"
./result/bin/meshtasticd
Nix with experimental command line and flake features
nix shell github:drupol/nixpkgs/push-wlqrwpmskyvt#meshtasticd

or

nix run github:drupol/nixpkgs/push-wlqrwpmskyvt#meshtasticd

To play with the UI

  1. Create a config.yaml file:
Lora:
  Module: sim
  DIO2_AS_RF_SWITCH: false
  spiSpeed: 2000000
General:
  MaxNodes: 200
  MaxMessageQueue: 100
  MACAddressSource: eth0
Display:
  Panel: X11
  Width: 480
  Height: 480
  1. Run
nix-shell -I nixpkgs=https://github.com/drupol/nixpkgs/archive/push-wlqrwpmskyvt.tar.gz '<nixpkgs>' -p meshtasticd --run "meshtasticd --config=config.yaml"

To run the NixOS tests

nix-build -A nixosTests.meshtasticd

Resources:

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • 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.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Nov 30, 2025
@drupol drupol force-pushed the push-wlqrwpmskyvt branch 10 times, most recently from 740790b to 3f1d2d6 Compare December 1, 2025 16:20
@drupol drupol marked this pull request as ready for review December 1, 2025 16:34
@nixpkgs-ci nixpkgs-ci bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Dec 1, 2025
@drupol drupol force-pushed the push-wlqrwpmskyvt branch 2 times, most recently from 1ed6f77 to bbf98a2 Compare December 2, 2025 08:38
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. and removed 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Dec 2, 2025
@drupol drupol force-pushed the push-wlqrwpmskyvt branch from bbf98a2 to cde7f27 Compare December 2, 2025 09:58
@nixpkgs-ci nixpkgs-ci bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Dec 2, 2025
@drupol drupol force-pushed the push-wlqrwpmskyvt branch from cde7f27 to d14986d Compare December 2, 2025 10:24
@drupol drupol changed the title meshtasticd: build from source meshtasticd: build from source, nixos/meshtastic: init Dec 2, 2025
@drupol drupol force-pushed the push-wlqrwpmskyvt branch from d14986d to 4e6deda Compare December 2, 2025 10:27
@nixpkgs-ci nixpkgs-ci bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Dec 2, 2025
@drupol drupol force-pushed the push-wlqrwpmskyvt branch 3 times, most recently from d4dd5ee to 2b32e9a Compare December 2, 2025 17:42
@nixpkgs-ci nixpkgs-ci bot added 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation labels Dec 2, 2025
@drupol drupol force-pushed the push-wlqrwpmskyvt branch 5 times, most recently from 2a36217 to 42ab6cc Compare December 2, 2025 20:07
@GaetanLepage

This comment was marked as outdated.

@drupol drupol force-pushed the push-wlqrwpmskyvt branch from 42ab6cc to fb23032 Compare December 3, 2025 10:02
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 466509
Commit: fb23032dbf5259aebb9036fcf7458150a76cc63b


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 10 packages built:
  • contact
  • contact.dist
  • meshtastic
  • meshtastic-web
  • meshtastic.dist
  • meshtasticd
  • python312Packages.meshtastic
  • python312Packages.meshtastic.dist
  • python313Packages.meshtastic
  • python313Packages.meshtastic.dist

aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 10 packages built:
  • contact
  • contact.dist
  • meshtastic
  • meshtastic-web
  • meshtastic.dist
  • meshtasticd
  • python312Packages.meshtastic
  • python312Packages.meshtastic.dist
  • python313Packages.meshtastic
  • python313Packages.meshtastic.dist

x86_64-darwin

✅ 1 package built:
  • meshtastic-web

aarch64-darwin

✅ 1 package built:
  • meshtastic-web

@drupol drupol force-pushed the push-wlqrwpmskyvt branch from fb23032 to 2d07315 Compare December 3, 2025 11:06
@drupol
Copy link
Contributor Author

drupol commented Dec 3, 2025

Sadly, not available on *-darwin archs:

image

@drupol drupol force-pushed the push-wlqrwpmskyvt branch 2 times, most recently from a922122 to e08308e Compare December 5, 2025 06:28
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Dec 7, 2025
@drupol drupol force-pushed the push-wlqrwpmskyvt branch from e08308e to 0bdef0b Compare December 7, 2025 21:01
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. and removed 2.status: merge conflict This PR has merge conflicts with the target branch 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 6.topic: python Python is a high-level, general-purpose programming language. labels Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants