Update lib.nix

fix typo `trow` -> `throw`
This commit is contained in:
Tim Sears 2021-04-20 14:32:55 -07:00 committed by GitHub
parent c407c2e98c
commit abde4e0ce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ rec {
in
if preProcessedReqs ? python then
if ! isNull pyStr && pyStr != preProcessedReqs.python then
trow ''
throw ''
The specified 'python' conflicts the one specified via 'requirements'.
Either remove `python=` from your requirements or do not specify 'python' when importing mach-nix
''