forked from the-distro/ofborg
648fcf0405
I had to patch composer2nix with: require_once(dirname(__FILE__)./../../../../vendor/autoload.php);
13 lines
329 B
Nix
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;
|
|
} |