rtl-sdr: fix cross compilation
This patch partially fixes #81985. Cross-compiling rtl-sdr is possible using this patch. Use nix build -f <nixpkgs-path> -A pkgsCross.raspberryPi.rtl-sdr to build rtl-sdr. The error that occured when trying to do this before was as follows: /nix/store/ldb2v2z0198abkp2minr9a9vz5np4mn4-cmake-3.16.4-armv6l-unknown-linux-gnueabihf/nix-support/setup-hook: line 107: cmake: command not found
This commit is contained in:
parent
a2fe5aff19
commit
91c4571e4f
@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0lmvsnb4xw4hmz6zs0z5ilsah5hjz29g1s0050n59fllskqr3b8k";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake libusb1 ];
|
||||
nativeBuildInputs = [ pkgconfig cmake ];
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
# TODO: get these fixes upstream:
|
||||
# * Building with -DINSTALL_UDEV_RULES=ON tries to install udev rules to
|
||||
|
Loading…
Reference in New Issue
Block a user