aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/sdrconnect
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-03-31 03:05:30 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-03-31 03:05:30 -0700
commit82dc1124e1cf7e262fec527fc66e3fffe1d87dcc (patch)
treebb2311b4650bc2e18de71e13b8931750efa241c7 /pkgs/sdrconnect
parent436bff130c97d2b98c1f476cd3a39a735c95d96c (diff)
downloadnix-82dc1124e1cf7e262fec527fc66e3fffe1d87dcc.tar
nix-82dc1124e1cf7e262fec527fc66e3fffe1d87dcc.tar.gz
nix-82dc1124e1cf7e262fec527fc66e3fffe1d87dcc.tar.bz2
nix-82dc1124e1cf7e262fec527fc66e3fffe1d87dcc.tar.lz
nix-82dc1124e1cf7e262fec527fc66e3fffe1d87dcc.tar.xz
nix-82dc1124e1cf7e262fec527fc66e3fffe1d87dcc.tar.zst
nix-82dc1124e1cf7e262fec527fc66e3fffe1d87dcc.zip
Fix missing pkgs
Diffstat (limited to 'pkgs/sdrconnect')
-rw-r--r--pkgs/sdrconnect/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/sdrconnect/default.nix b/pkgs/sdrconnect/default.nix
index d262268..cc470f1 100644
--- a/pkgs/sdrconnect/default.nix
+++ b/pkgs/sdrconnect/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, lib, stdenv }:
+{ fetchurl, lib, pkgs, stdenv }:
let
pname = "sdrconnect";
in
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
sourceRoot = ".";
unpackCmd = "bash $src --quiet --noexec --target .";
- buildInputs = [
+ buildInputs = with pkgs; [
alsa-lib
fontconfig.lib
icu
@@ -30,8 +30,8 @@ stdenv.mkDerivation {
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,lib} $out/share/{doc,icons}
- patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 SDRconnect
- patchelf --set-rpath \$ORIGIN/../lib:${alsa-lib}/lib:${fontconfig.lib}/lib:${icu}/lib:${libusb1}/lib:${remarkable2-toolchain}/lib:${stdenv.cc.cc.lib}/lib:${util-linux.lib}/lib:${xorg.libICE}/lib:${xorg.libSM}/lib:${xorg.libX11}/lib SDRconnect
+ patchelf --set-interpreter ${pkgs.stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 SDRconnect
+ patchelf --set-rpath \$ORIGIN/../lib:${pkgs.alsa-lib}/lib:${pkgs.fontconfig.lib}/lib:${pkgs.icu}/lib:${pkgs.libusb1}/lib:${pkgs.remarkable2-toolchain}/lib:${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.util-linux.lib}/lib:${pkgs.xorg.libICE}/lib:${pkgs.xorg.libSM}/lib:${pkgs.xorg.libX11}/lib SDRconnect
patchelf --add-needed libasound.so.2 --add-needed libfontconfig.so.1 --add-needed libSkiaSharp.so --add-needed swig_bindings.so --add-needed libusb-1.0.so.0 --add-needed libuuid.so.1 SDRconnect
mv SDRconnect $out/bin
mv libHarfBuzzSharp.so libSkiaSharp.so swig_bindings.so $out/lib