ofborg/php/default.nix
Graham Christensen 648fcf0405
Package up dependencies with composer2nix
I had to patch composer2nix with:

require_once(dirname(__FILE__)./../../../../vendor/autoload.php);
2018-08-08 13:28:14 -04:00

13 lines
329 B
Nix

{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, noDev ? false}:
let
composerEnv = import ./composer-env.nix {
inherit (pkgs) stdenv writeTextFile fetchurl php unzip;
};
in
import ./php-packages.nix {
inherit composerEnv noDev;
inherit (pkgs) fetchurl fetchgit fetchhg fetchsvn;
}