Merge pull request #1157 from terlar/fetchFromLegacy-include-isWheel

lib: Include isWheel for fetchFromLegacy
This commit is contained in:
adisbladis 2023-05-09 13:03:31 +12:00 committed by GitHub
commit 56c219243b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,6 +161,7 @@ let
outputHashAlgo = "sha256";
outputHash = hash;
NETRC = netrc_file;
passthru.isWheel = lib.strings.hasSuffix "whl" file;
} ''
python ${./fetch_from_legacy.py} ${url} ${pname} ${file}
mv ${file} $out