mirror of https://github.com/Nofated095/Q2TG.git
10 lines
241 B
Nix
10 lines
241 B
Nix
|
{ runCommand, nodePackages }:
|
||
|
|
||
|
runCommand "patchPrisma" { } ''
|
||
|
cp -r ${nodePackages.prisma} $out
|
||
|
chmod +w -R $out
|
||
|
cd $out
|
||
|
patch -p1 < ${./prisma.patch}
|
||
|
substituteInPlace $out/bin/prisma --replace '${nodePackages.prisma}' "$out"
|
||
|
''
|