3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
14 lines
224 B
Nix
14 lines
224 B
Nix
{ runCommand }:
|
|
|
|
sitePackages:
|
|
|
|
let
|
|
hook = ./setup-hook.sh;
|
|
in runCommand "python-setup-hook.sh" {
|
|
strictDeps = true;
|
|
inherit sitePackages;
|
|
} ''
|
|
cp ${hook} hook.sh
|
|
substituteAllInPlace hook.sh
|
|
mv hook.sh $out
|
|
''
|