From 62fbca1c3a2afc2cc20034b30f4d817fe87f84f9 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 2 Mar 2024 03:45:04 -0800 Subject: Fix up missing dependencies --- sdrconnect.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sdrconnect.nix') diff --git a/sdrconnect.nix b/sdrconnect.nix index a54a69f..22b41d8 100644 --- a/sdrconnect.nix +++ b/sdrconnect.nix @@ -2,10 +2,12 @@ pkgs.stdenv.mkDerivation rec { pname = "sdrconnect"; version = "0.0.0"; + src = builtins.fetchurl { url = "https://www.sdrplay.com/software/SDRconnect_linux-x64_0fd82d9dc.run"; sha256 = "7200f58efc1bd78250f6057cc08b5564ea9e8f33f8ef655805bbff97f56d38c2"; }; + sourceRoot = "."; unpackCmd = "bash $src --quiet --noexec --target ."; @@ -17,6 +19,9 @@ pkgs.stdenv.mkDerivation rec { remarkable2-toolchain stdenv.cc.cc.lib util-linux.lib + xorg.libICE + xorg.libSM + xorg.libX11 ]; installPhase = '' @@ -41,6 +46,5 @@ pkgs.stdenv.mkDerivation rec { sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; platforms = [ "x86_64-linux" ]; - mainProgram = "$out/bin/SDRconnect"; }; } -- cgit v1.2.3