blob: b66bd1cc5f69b3d7bef5ae7b35fb4e2e9053bd56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ runCommand }:
sitePackages:
let
hook = ./setup-hook.sh;
in runCommand "python-setup-hook.sh" {
inherit sitePackages;
} ''
cp ${hook} hook.sh
substituteAllInPlace hook.sh
mv hook.sh $out
''
|