aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/writePHPFile.nix
blob: 495083f0f423f458b6acc2aafc10b4f945d449bc (plain)
1
2
3
4
5
6
7
8
9
10
{ writeTextFile, php }:

name: text:
  writeTextFile
  {
    inherit name text;
    checkPhase = ''
      ${php}/bin/php -l "$out"
    '';
  }