aria2: fix cross compilation and set strictDeps

This commit is contained in:
Nick Cao 2021-12-27 20:52:04 +08:00
parent 8aeafc25c9
commit 29c02b33a9
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1
2 changed files with 2 additions and 2 deletions

View file

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

View file

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