Browse Source

Python: fix update script for nix 2.0

nixos-19.03
Frederik Rietdijk 4 years ago
parent
commit
b92d994501
  1. 4
      maintainers/scripts/update-python-libraries

4
maintainers/scripts/update-python-libraries

@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p 'python3.withPackages(ps: with ps; [ packaging requests toolz ])' -p git
#! nix-shell -i python3 -p "python3.withPackages(ps: with ps; [ packaging requests toolz ])" -p git
"""
Update a Python package expression by passing in the `.nix` file, or the directory containing it.
@ -358,4 +358,4 @@ def main():
if __name__ == '__main__':
main()
main()

Loading…
Cancel
Save