blob: 81975bc5250e1dccb126461d8715a3069eb47c20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ python3, runCommand, git }:
runCommand "update-python-libraries" {
buildInputs = [
(python3.withPackages(ps: with ps; [ packaging requests toolz ]))
git
];
} ''
cp ${./update-python-libraries.py} $out
patchShebangs $out
substituteInPlace $out --replace 'GIT = "git"' 'GIT = "${git}/bin/git"'
''
|