Skip to content

Conversation

@govindsi
Copy link
Contributor

@govindsi govindsi commented Nov 4, 2025

Add the morse Wi-Fi driver package version 1.16.4.

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.

@nix-owners nix-owners bot requested review from Ma27 and TredwellGit November 4, 2025 06:54
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. labels Nov 4, 2025
@nix-owners nix-owners bot requested a review from NeQuissimus November 4, 2025 06:54
@nixpkgs-ci nixpkgs-ci bot added the 12.first-time contribution This PR is the author's first one; please be gentle! label Nov 4, 2025
@nix-owners nix-owners bot requested review from K900 and alyssais November 4, 2025 06:54
@nixpkgs-ci nixpkgs-ci bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Nov 4, 2025
Copy link
Member

@alyssais alyssais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch does not look like something we should be applying for Nixpkgs for a new package. It should go upstream.

@govindsi govindsi requested a review from alyssais November 6, 2025 03:18
@govindsi govindsi changed the title linuxPackages.morse-driver: init at 1.14.1 linuxPackages.morse-driver: init at 1.16.4 Nov 10, 2025
Copy link
Member

@alyssais alyssais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latter two commits should be squashed into the first one per CONTRIBUTING.md.

(fetchpatch {
url = "https://github.com/MorseMicro/morse_driver/commit/366772a6801baa37171afbf4ecec103d58f97de5.patch";
sha256 = "sha256-DqpPYBeeQXkXvmqvC7ltAwrFRO/rtNv+PZYd3I01H4M=";
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per pkgs/README.md, unmerged GitHub PRs shouldn't be fetched with fetchpatch. Include the patch file in the package directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the review, updated.

@alyssais
Copy link
Member

Okay, the package looks fine, but the patch is quite big, and the fact that they haven't managed to update to support Linux 6.12 a year after it was released does not fill me with confidence for the future maintainability of this package, so I'll wait for a second opinion on whether this is something we feel we can maintain in Nixpkgs.

@govindsi
Copy link
Contributor Author

Okay, the package looks fine, but the patch is quite big, and the fact that they haven't managed to update to support Linux 6.12 a year after it was released does not fill me with confidence for the future maintainability of this package, so I'll wait for a second opinion on whether this is something we feel we can maintain in Nixpkgs.

Thanks @alyssais for the review comments. Right now I am keeping a downstream derivation and hoping to fetch from upstream Nixpkgs soon. As per Morsemicro, they will get this merged in upcoming release updates. @Ma27 @NeQuissimus and others any feedback, much appreciated.

@Mic92
Copy link
Member

Mic92 commented Dec 3, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 458358
Commit: 2d91531a4497ad2f543e8066eebcec1fe6cbe610


x86_64-linux

❌ 1 package failed to build:
  • linuxPackages_latest.morse-driver
✅ 11 packages built:
  • linuxKernel.packages.linux_5_10.morse-driver
  • linuxKernel.packages.linux_5_15.morse-driver
  • linuxKernel.packages.linux_6_1.morse-driver
  • linuxPackages.morse-driver (linuxKernel.packages.linux_6_12.morse-driver)
  • linuxKernel.packages.linux_hardened.morse-driver (linuxKernel.packages.linux_6_12_hardened.morse-driver)
  • linuxKernel.packages.linux_6_17.morse-driver
  • linuxKernel.packages.linux_6_6.morse-driver
  • linuxPackages_lqx.morse-driver (linuxKernel.packages.linux_lqx.morse-driver)
  • linuxPackages_xanmod.morse-driver (linuxKernel.packages.linux_xanmod.morse-driver)
  • linuxPackages_xanmod_latest.morse-driver (linuxKernel.packages.linux_xanmod_latest.morse-driver, linuxPackages_xanmod_stable.morse-driver)
  • linuxPackages_zen.morse-driver (linuxKernel.packages.linux_zen.morse-driver)

aarch64-linux

❌ 8 packages failed to build:
  • linuxKernel.packages.linux_5_10.morse-driver
  • linuxKernel.packages.linux_5_15.morse-driver
  • linuxKernel.packages.linux_6_1.morse-driver
  • linuxPackages.morse-driver (linuxKernel.packages.linux_6_12.morse-driver)
  • linuxKernel.packages.linux_hardened.morse-driver (linuxKernel.packages.linux_6_12_hardened.morse-driver)
  • linuxKernel.packages.linux_6_17.morse-driver
  • linuxKernel.packages.linux_6_6.morse-driver
  • linuxPackages_latest.morse-driver

Error logs: `x86_64-linux`
linuxPackages_latest.morse-driver
 4876 |             (chan_s1g && (chan_s1g->ch.flags & IEEE80211_CHAN_4MHZ)) ? 4 :
      |                                                ^~~~~~~~~~~~~~~~~~~
      |                                                IEEE80211_CHAN_5GHZ
mac.c:4877:48: error: 'IEEE80211_CHAN_2MHZ' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_2GHZ'?
 4877 |             (chan_s1g && (chan_s1g->ch.flags & IEEE80211_CHAN_2MHZ)) ? 2 :
      |                                                ^~~~~~~~~~~~~~~~~~~
      |                                                IEEE80211_CHAN_2GHZ
mac.c:4878:48: error: 'IEEE80211_CHAN_1MHZ' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_5GHZ'?
 4878 |             (chan_s1g && (chan_s1g->ch.flags & IEEE80211_CHAN_1MHZ)) ? 1 : -1;
      |                                                ^~~~~~~~~~~~~~~~~~~
      |                                                IEEE80211_CHAN_5GHZ
make[4]: *** [/nix/store/pyix2bwixdp8yw4qlhqv5xsxygyf6nhy-linux-6.18-dev/lib/modules/6.18.0/source/scripts/Makefile.build:287: mac.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [/nix/store/pyix2bwixdp8yw4qlhqv5xsxygyf6nhy-linux-6.18-dev/lib/modules/6.18.0/source/scripts/Makefile.build:556: dot11ah] Error 2
make[3]: *** [/nix/store/pyix2bwixdp8yw4qlhqv5xsxygyf6nhy-linux-6.18-dev/lib/modules/6.18.0/source/Makefile:2010: .] Error 2
make[2]: *** [/nix/store/pyix2bwixdp8yw4qlhqv5xsxygyf6nhy-linux-6.18-dev/lib/modules/6.18.0/source/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/build/source'
make[1]: *** [/nix/store/pyix2bwixdp8yw4qlhqv5xsxygyf6nhy-linux-6.18-dev/lib/modules/6.18.0/source/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/pyix2bwixdp8yw4qlhqv5xsxygyf6nhy-linux-6.18-dev/lib/modules/6.18.0/build'
make: *** [Makefile:181: all] Error 2

Error logs: `aarch64-linux`
linuxKernel.packages.linux_5_15.morse-driver
/build/source/mac.c:3419:55: error: 'IEEE80211_CHAN_IGNORE' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_NO_HE'?
 3419 |                         ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0));
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/nix/store/skb0n1qlssni5g5aa7vm9vajkwq4vqkq-linux-5.15.196-dev/lib/modules/5.15.196/source/include/asm-generic/bug.h:121:32: note: in definition of macro 'WARN_ON'
  121 |         int __ret_warn_on = !!(condition);                              \
      |                                ^~~~~~~~~
/build/source/mac.c:3418:17: note: in expansion of macro 'MORSE_WARN_ON'
 3418 |                 MORSE_WARN_ON(FEATURE_ID_DEFAULT,
      |                 ^~~~~~~~~~~~~
/build/source/mac.c: In function 'morse_mac_ops_config':
/build/source/mac.c:3521:43: error: 'IEEE80211_CHAN_IGNORE' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_NO_HE'?
 3521 |             ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0);
      |                                           ^~~~~~~~~~~~~~~~~~~~~
      |                                           IEEE80211_CHAN_NO_HE
make[2]: *** [/nix/store/skb0n1qlssni5g5aa7vm9vajkwq4vqkq-linux-5.15.196-dev/lib/modules/5.15.196/source/scripts/Makefile.build:289: /build/source/mac.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/nix/store/skb0n1qlssni5g5aa7vm9vajkwq4vqkq-linux-5.15.196-dev/lib/modules/5.15.196/source/scripts/Makefile.build:552: /build/source/dot11ah] Error 2
make[1]: *** [/nix/store/skb0n1qlssni5g5aa7vm9vajkwq4vqkq-linux-5.15.196-dev/lib/modules/5.15.196/source/Makefile:1926: /build/source] Error 2
make[1]: Leaving directory '/nix/store/skb0n1qlssni5g5aa7vm9vajkwq4vqkq-linux-5.15.196-dev/lib/modules/5.15.196/build'
make: *** [Makefile:181: all] Error 2
linuxKernel.packages.linux_6_1.morse-driver
/build/source/mac.c:3419:55: error: 'IEEE80211_CHAN_IGNORE' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_NO_HE'?
 3419 |                         ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0));
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/nix/store/jdjknfmqvlzbnlc71inpja5cd7ji2xl8-linux-6.1.158-dev/lib/modules/6.1.158/source/include/asm-generic/bug.h:122:32: note: in definition of macro 'WARN_ON'
  122 |         int __ret_warn_on = !!(condition);                              \
      |                                ^~~~~~~~~
/build/source/mac.c:3418:17: note: in expansion of macro 'MORSE_WARN_ON'
 3418 |                 MORSE_WARN_ON(FEATURE_ID_DEFAULT,
      |                 ^~~~~~~~~~~~~
/build/source/mac.c: In function 'morse_mac_ops_config':
/build/source/mac.c:3521:43: error: 'IEEE80211_CHAN_IGNORE' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_NO_HE'?
 3521 |             ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0);
      |                                           ^~~~~~~~~~~~~~~~~~~~~
      |                                           IEEE80211_CHAN_NO_HE
make[2]: *** [/nix/store/jdjknfmqvlzbnlc71inpja5cd7ji2xl8-linux-6.1.158-dev/lib/modules/6.1.158/source/scripts/Makefile.build:250: /build/source/mac.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/nix/store/jdjknfmqvlzbnlc71inpja5cd7ji2xl8-linux-6.1.158-dev/lib/modules/6.1.158/source/scripts/Makefile.build:503: /build/source/dot11ah] Error 2
make[1]: *** [/nix/store/jdjknfmqvlzbnlc71inpja5cd7ji2xl8-linux-6.1.158-dev/lib/modules/6.1.158/source/Makefile:2025: /build/source] Error 2
make[1]: Leaving directory '/nix/store/jdjknfmqvlzbnlc71inpja5cd7ji2xl8-linux-6.1.158-dev/lib/modules/6.1.158/build'
make: *** [Makefile:181: all] Error 2
linuxPackages.morse-driver
 3419 |                         ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0));
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/nix/store/zy4d9kg031iqn6j4zg1glkazic0a5q84-linux-6.12.60-dev/lib/modules/6.12.60/source/include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
  123 |         int __ret_warn_on = !!(condition);                              \
      |                                ^~~~~~~~~
/build/source/mac.c:3418:17: note: in expansion of macro 'MORSE_WARN_ON'
 3418 |                 MORSE_WARN_ON(FEATURE_ID_DEFAULT,
      |                 ^~~~~~~~~~~~~
/build/source/mac.c: In function 'morse_mac_ops_config':
/build/source/mac.c:3521:43: error: 'IEEE80211_CHAN_IGNORE' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_NO_HE'?
 3521 |             ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0);
      |                                           ^~~~~~~~~~~~~~~~~~~~~
      |                                           IEEE80211_CHAN_NO_HE
make[3]: *** [/nix/store/zy4d9kg031iqn6j4zg1glkazic0a5q84-linux-6.12.60-dev/lib/modules/6.12.60/source/scripts/Makefile.build:229: /build/source/mac.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/nix/store/zy4d9kg031iqn6j4zg1glkazic0a5q84-linux-6.12.60-dev/lib/modules/6.12.60/source/scripts/Makefile.build:478: /build/source/dot11ah] Error 2
make[2]: *** [/nix/store/zy4d9kg031iqn6j4zg1glkazic0a5q84-linux-6.12.60-dev/lib/modules/6.12.60/source/Makefile:1945: /build/source] Error 2
make[1]: *** [/nix/store/zy4d9kg031iqn6j4zg1glkazic0a5q84-linux-6.12.60-dev/lib/modules/6.12.60/source/Makefile:224: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/zy4d9kg031iqn6j4zg1glkazic0a5q84-linux-6.12.60-dev/lib/modules/6.12.60/build'
make: *** [Makefile:181: all] Error 2
linuxKernel.packages.linux_hardened.morse-driver
 3419 |                         ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0));
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/nix/store/7639j77mqzck7srws3cijxffiymgsk3l-linux-hardened-6.12.56-dev/lib/modules/6.12.56-hardened1/source/include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
  123 |         int __ret_warn_on = !!(condition);                              \
      |                                ^~~~~~~~~
/build/source/mac.c:3418:17: note: in expansion of macro 'MORSE_WARN_ON'
 3418 |                 MORSE_WARN_ON(FEATURE_ID_DEFAULT,
      |                 ^~~~~~~~~~~~~
/build/source/mac.c: In function 'morse_mac_ops_config':
/build/source/mac.c:3521:43: error: 'IEEE80211_CHAN_IGNORE' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_NO_HE'?
 3521 |             ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0);
      |                                           ^~~~~~~~~~~~~~~~~~~~~
      |                                           IEEE80211_CHAN_NO_HE
make[3]: *** [/nix/store/7639j77mqzck7srws3cijxffiymgsk3l-linux-hardened-6.12.56-dev/lib/modules/6.12.56-hardened1/source/scripts/Makefile.build:229: /build/source/mac.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/nix/store/7639j77mqzck7srws3cijxffiymgsk3l-linux-hardened-6.12.56-dev/lib/modules/6.12.56-hardened1/source/scripts/Makefile.build:478: /build/source/dot11ah] Error 2
make[2]: *** [/nix/store/7639j77mqzck7srws3cijxffiymgsk3l-linux-hardened-6.12.56-dev/lib/modules/6.12.56-hardened1/source/Makefile:1945: /build/source] Error 2
make[1]: *** [/nix/store/7639j77mqzck7srws3cijxffiymgsk3l-linux-hardened-6.12.56-dev/lib/modules/6.12.56-hardened1/source/Makefile:224: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/7639j77mqzck7srws3cijxffiymgsk3l-linux-hardened-6.12.56-dev/lib/modules/6.12.56-hardened1/build'
make: *** [Makefile:181: all] Error 2
linuxKernel.packages.linux_6_17.morse-driver
/nix/store/7xk4587f25ja4v2a834ai0z9sf2ab9hx-linux-6.17.10-dev/lib/modules/6.17.10/source/include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
  123 |         int __ret_warn_on = !!(condition);                              \
      |                                ^~~~~~~~~
mac.c:3418:17: note: in expansion of macro 'MORSE_WARN_ON'
 3418 |                 MORSE_WARN_ON(FEATURE_ID_DEFAULT,
      |                 ^~~~~~~~~~~~~
mac.c: In function 'morse_mac_ops_config':
mac.c:3521:43: error: 'IEEE80211_CHAN_IGNORE' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_NO_HE'?
 3521 |             ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0);
      |                                           ^~~~~~~~~~~~~~~~~~~~~
      |                                           IEEE80211_CHAN_NO_HE
make[4]: *** [/nix/store/7xk4587f25ja4v2a834ai0z9sf2ab9hx-linux-6.17.10-dev/lib/modules/6.17.10/source/scripts/Makefile.build:287: mac.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [/nix/store/7xk4587f25ja4v2a834ai0z9sf2ab9hx-linux-6.17.10-dev/lib/modules/6.17.10/source/scripts/Makefile.build:556: dot11ah] Error 2
make[3]: *** [/nix/store/7xk4587f25ja4v2a834ai0z9sf2ab9hx-linux-6.17.10-dev/lib/modules/6.17.10/source/Makefile:2011: .] Error 2
make[2]: *** [/nix/store/7xk4587f25ja4v2a834ai0z9sf2ab9hx-linux-6.17.10-dev/lib/modules/6.17.10/source/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/build/source'
make[1]: *** [/nix/store/7xk4587f25ja4v2a834ai0z9sf2ab9hx-linux-6.17.10-dev/lib/modules/6.17.10/source/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/7xk4587f25ja4v2a834ai0z9sf2ab9hx-linux-6.17.10-dev/lib/modules/6.17.10/build'
make: *** [Makefile:181: all] Error 2
linuxKernel.packages.linux_6_6.morse-driver
 3419 |                         ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0));
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/nix/store/8sn4hl78vg4bvskyyy56z8pb87dpwmgj-linux-6.6.118-dev/lib/modules/6.6.118/source/include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
  123 |         int __ret_warn_on = !!(condition);                              \
      |                                ^~~~~~~~~
/build/source/mac.c:3418:17: note: in expansion of macro 'MORSE_WARN_ON'
 3418 |                 MORSE_WARN_ON(FEATURE_ID_DEFAULT,
      |                 ^~~~~~~~~~~~~
/build/source/mac.c: In function 'morse_mac_ops_config':
/build/source/mac.c:3521:43: error: 'IEEE80211_CHAN_IGNORE' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_NO_HE'?
 3521 |             ((conf->chandef.chan->flags & IEEE80211_CHAN_IGNORE) == 0);
      |                                           ^~~~~~~~~~~~~~~~~~~~~
      |                                           IEEE80211_CHAN_NO_HE
make[3]: *** [/nix/store/8sn4hl78vg4bvskyyy56z8pb87dpwmgj-linux-6.6.118-dev/lib/modules/6.6.118/source/scripts/Makefile.build:243: /build/source/mac.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/nix/store/8sn4hl78vg4bvskyyy56z8pb87dpwmgj-linux-6.6.118-dev/lib/modules/6.6.118/source/scripts/Makefile.build:480: /build/source/dot11ah] Error 2
make[2]: *** [/nix/store/8sn4hl78vg4bvskyyy56z8pb87dpwmgj-linux-6.6.118-dev/lib/modules/6.6.118/source/Makefile:1924: /build/source] Error 2
make[1]: *** [/nix/store/8sn4hl78vg4bvskyyy56z8pb87dpwmgj-linux-6.6.118-dev/lib/modules/6.6.118/source/Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/8sn4hl78vg4bvskyyy56z8pb87dpwmgj-linux-6.6.118-dev/lib/modules/6.6.118/build'
make: *** [Makefile:181: all] Error 2
linuxPackages_latest.morse-driver
make[4]: *** Waiting for unfinished jobs....
mac.c:4876:48: error: 'IEEE80211_CHAN_4MHZ' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_5GHZ'?
 4876 |             (chan_s1g && (chan_s1g->ch.flags & IEEE80211_CHAN_4MHZ)) ? 4 :
      |                                                ^~~~~~~~~~~~~~~~~~~
      |                                                IEEE80211_CHAN_5GHZ
mac.c:4877:48: error: 'IEEE80211_CHAN_2MHZ' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_2GHZ'?
 4877 |             (chan_s1g && (chan_s1g->ch.flags & IEEE80211_CHAN_2MHZ)) ? 2 :
      |                                                ^~~~~~~~~~~~~~~~~~~
      |                                                IEEE80211_CHAN_2GHZ
mac.c:4878:48: error: 'IEEE80211_CHAN_1MHZ' undeclared (first use in this function); did you mean 'IEEE80211_CHAN_5GHZ'?
 4878 |             (chan_s1g && (chan_s1g->ch.flags & IEEE80211_CHAN_1MHZ)) ? 1 : -1;
      |                                                ^~~~~~~~~~~~~~~~~~~
      |                                                IEEE80211_CHAN_5GHZ
make[4]: *** [/nix/store/9ysv522kig2zbph964cz4qvzrzxli9wb-linux-6.18-dev/lib/modules/6.18.0/source/scripts/Makefile.build:287: mac.o] Error 1
make[3]: *** [/nix/store/9ysv522kig2zbph964cz4qvzrzxli9wb-linux-6.18-dev/lib/modules/6.18.0/source/Makefile:2010: .] Error 2
make[2]: *** [/nix/store/9ysv522kig2zbph964cz4qvzrzxli9wb-linux-6.18-dev/lib/modules/6.18.0/source/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/build/source'
make[1]: *** [/nix/store/9ysv522kig2zbph964cz4qvzrzxli9wb-linux-6.18-dev/lib/modules/6.18.0/source/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/9ysv522kig2zbph964cz4qvzrzxli9wb-linux-6.18-dev/lib/modules/6.18.0/build'
make: *** [Makefile:181: all] Error 2

@Mic92
Copy link
Member

Mic92 commented Dec 3, 2025

I checked the situation and it seems they work on upstream support and cannot accept this patch for some compliance reason (missing CLA process).

Other nix community folks also failed to build this: https://community.morsemicro.com/t/fail-to-compile-morse-driver-for-rv1106-kernel/932/6

So hopefully this mean we can limit this kernel module at some point to old linux kernel versions? Or just drop it at this point? I am willing to accept this patch, if we get also future fixes from @govindsi .

@Mic92
Copy link
Member

Mic92 commented Dec 3, 2025

Reviewed the patch and I have one open question for it: https://github.com/MorseMicro/morse_driver/pull/7/files#r2585255598

govindsi and others added 2 commits December 5, 2025 16:31
Add the morse Wi-Fi halow driver package version 1.16.4.

Signed-off-by: Govind Singh <govind.sk85@gmail.com>
Signed-off-by: Govind Singh <govind.sk85@gmail.com>
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. and removed 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Dec 5, 2025
@Mic92
Copy link
Member

Mic92 commented Dec 5, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 458358
Commit: 94fc1eb10861996e6e5f15c57eb993c9292cb596


x86_64-linux

✅ 2 packages built:
  • linuxKernel.packages.linux_6_1.morse-driver
  • linuxKernel.packages.linux_6_6.morse-driver

aarch64-linux

✅ 2 packages built:
  • linuxKernel.packages.linux_6_1.morse-driver
  • linuxKernel.packages.linux_6_6.morse-driver

Copy link
Member

@Mic92 Mic92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch is now very small and given the new very constraint version range, if we actually fall behind updating this, it will just fall out of the nixpkgs automatically because no kernel would support this anymore. I think this is the best outcome as it just creates 4 builds in total (2 per architecture)

@Mic92 Mic92 dismissed alyssais’s stale review December 5, 2025 15:51

The patch has been proposed upstream - but upstream doesn't accept patches at the moment. If things go to plan we will longterm see an new upstream kernel module for new kernels instead.

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 5, 2025
@Mic92 Mic92 added this pull request to the merge queue Dec 5, 2025
Merged via the queue into NixOS:master with commit f61125a Dec 5, 2025
29 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 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. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants