diff --git a/pkgs/by-name/sc/scion/package.nix b/pkgs/by-name/sc/scion/package.nix index 29eac848eeb0..4ded8b2d98e1 100644 --- a/pkgs/by-name/sc/scion/package.nix +++ b/pkgs/by-name/sc/scion/package.nix @@ -1,6 +1,7 @@ { lib -, buildGo121Module +, buildGoModule , fetchFromGitHub +, fetchpatch2 }: let version = "0.10.0"; @@ -18,7 +19,7 @@ let ''; in -buildGo121Module { +buildGoModule { pname = "scion"; inherit version; @@ -43,6 +44,13 @@ buildGo121Module { doCheck = true; + patches = [ + (fetchpatch2 { + url = "https://github.com/scionproto/scion/commit/cb7fa6d6aab55c9eb90556c2b996b87539f8aa02.patch"; + hash = "sha256-mMGJMPB6T7KeDXjEXffdrhzyKwaFmhuisK6PjHOJIdU="; + }) + ]; + meta = with lib; { description = "A future Internet architecture utilizing path-aware networking"; homepage = "https://scion-architecture.net/";