fix bug in lib.nix

This commit is contained in:
DavHau 2022-02-04 01:16:10 +07:00
parent c7da997337
commit 6a44e84351

View file

@ -202,7 +202,7 @@ rec {
src = src;
}}/python.json";
in
if pathExists file_path then fromJSON (readFile file_path) else throw fail_msg;
if pathExists file_path then fromJSON (builtins.unsafeDiscardStringContext (readFile file_path)) else throw fail_msg;
extract_requirements = python: src: name: extras:
let