Merge pull request #154094 from NickCao/aria2
aria2: fix cross compilation and set strictDeps
This commit is contained in:
commit
92b09d4735
|
@ -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 ];
|
||||
|
|
|
@ -2036,7 +2036,6 @@ with pkgs;
|
|||
|
||||
aria2 = callPackage ../tools/networking/aria2 {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
inherit (python3Packages) sphinx;
|
||||
};
|
||||
aria = aria2;
|
||||
|
||||
|
|
Loading…
Reference in a new issue