Newbie - Correct place to add a Nix package buildinput override? #92
Unanswered
victorhooi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to install the urh package - source here:
https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/applications/radio/urh/default.nix
However, I wanted to enable UHD (USRP Hardware Drivers) support for this package.
It seems there's already an override for that I can use (link).
However, I can't seem to figure out the correct way to enable this.
Naively, I did try to add this to modules/shared/packages.nix directly:
However, I then got a bunch of syntax errors about the "=" - and it seems that may not be the right place to add it?
I also tried adding it to
modules/shared/default.nix
:However, it then says it's not a recognised option - so guessing that's not the right place either?
Does anybody know where the correct place to add this option in these templates is please?
Beta Was this translation helpful? Give feedback.
All reactions