Merge pull request #154094 from NickCao/aria2
aria2: fix cross compilation and set strictDeps
commit92b09d4735639fa4ee7fb550aa9e48b64d3e0d88
authorRenaud <c0bw3b@users.noreply.github.com>
dateMon 10 Jan 2022, 15:55 (5 years ago)
parentbbb703f29c02b3
pkgs/tools/networking/aria2/default.nix+2−1
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
1515 sha256 = "sha256-ErjFfSJDIgZq0qy0Zn5uZ9bZS2AtJq4FuBVuUuQgPTI=";
1616 };
1717
18+ strictDeps = true;
1819 nativeBuildInputs = [ pkg-config autoreconfHook sphinx ];
1920
2021 buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++
@@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
2829 ];
2930
3031 prePatch = ''
31− patchShebangs doc/manual-src/en/mkapiref.py
32+ patchShebangs --build doc/manual-src/en/mkapiref.py
3233 '';
3334
3435 checkInputs = [ cppunit ];
pkgs/top-level/all-packages.nix−1
@@ -2036,7 +2036,6 @@ with pkgs;
20362036
20372037 aria2 = callPackage ../tools/networking/aria2 {
20382038 inherit (darwin.apple_sdk.frameworks) Security;
2039− inherit (python3Packages) sphinx;
20402039 };
20412040 aria = aria2;
20422041