composer2nix/default.nix
Robin Gloster a9911c1933
Use composer from nixpkgs
The composer pinned here, was outdated and broken with PHP 7.3, the
default in NixOS 19.09
2019-09-30 22:48:41 +02:00

13 lines
359 B
Nix

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