From 59daf9b0b6a8c577cad7c0679380dda63485f1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Mon, 25 Mar 2024 16:53:37 +0100 Subject: [PATCH] gnuradioPackages.osmosdr: fix source URL The current URL doesn't work anymore: $ nix-build -A gnuradioPackages.osmosdr.src --check checking outputs of '/nix/store/3jmqk57y5214iadfi6ivbgfd1rr9fyib-gr-osmosdr.drv'... exporting git://git.osmocom.org/gr-osmosdr (rev v0.2.4) into /nix/store/m1qa9ipmdf4xrc6gl1r0zd0c5r0ns7bk-gr-osmosdr Initialized empty Git repository in /nix/store/m1qa9ipmdf4xrc6gl1r0zd0c5r0ns7bk-gr-osmosdr/.git/ fatal: unable to connect to git.osmocom.org: git.osmocom.org[0: 78.46.96.155]: errno=Connection refused git.osmocom.org[1: 2a01:4f8:120:8470::2]: errno=Network is unreachable Fixes https://github.com/NixOS/nixpkgs/issues/298876. --- pkgs/development/gnuradio-modules/osmosdr/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/gnuradio-modules/osmosdr/default.nix b/pkgs/development/gnuradio-modules/osmosdr/default.nix index 8e46ac561493..053d0a8e99f1 100644 --- a/pkgs/development/gnuradio-modules/osmosdr/default.nix +++ b/pkgs/development/gnuradio-modules/osmosdr/default.nix @@ -33,7 +33,7 @@ let "3.10" = "0.2.4"; }.${gnuradio.versionAttr.major}; src = fetchgit { - url = "git://git.osmocom.org/gr-osmosdr"; + url = "https://gitea.osmocom.org/sdr/gr-osmosdr"; rev = "v${version}"; sha256 = { "3.7" = "0bf9bnc1c3c4yqqqgmg3nhygj6rcfmyk6pybi27f7461d2cw1drv";