8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
13 lines
203 B
Nix
13 lines
203 B
Nix
{ 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
|
|
''
|