Merge pull request #154094 from NickCao/aria2

aria2: fix cross compilation and set strictDeps
This commit is contained in:
Renaud 2022-01-10 15:55:01 +01:00 committed by GitHub
commit 92b09d4735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ErjFfSJDIgZq0qy0Zn5uZ9bZS2AtJq4FuBVuUuQgPTI=";
};
strictDeps = true;
nativeBuildInputs = [ pkg-config autoreconfHook sphinx ];
buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++
@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
];
prePatch = ''
patchShebangs doc/manual-src/en/mkapiref.py
patchShebangs --build doc/manual-src/en/mkapiref.py
'';
checkInputs = [ cppunit ];

View File

@ -2036,7 +2036,6 @@ with pkgs;
aria2 = callPackage ../tools/networking/aria2 {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (python3Packages) sphinx;
};
aria = aria2;