forked from the-distro/ofborg
43 lines
686 B
Nix
43 lines
686 B
Nix
let
|
|
pkgs = import ./nix {};
|
|
|
|
|
|
inherit (pkgs) stdenv;
|
|
|
|
phpEnv = stdenv.mkDerivation rec {
|
|
name = "gh-event-forwarder";
|
|
src = null;
|
|
buildInputs = with pkgs; [
|
|
nix-prefetch-git
|
|
php
|
|
phpPackages.composer
|
|
nix
|
|
git
|
|
php
|
|
curl
|
|
bash
|
|
];
|
|
|
|
# HISTFILE = "${src}/.bash_hist";
|
|
passthru.rustEnv = rustEnv;
|
|
};
|
|
|
|
rustEnv = stdenv.mkDerivation rec {
|
|
name = "gh-event-forwarder";
|
|
buildInputs = with pkgs; [
|
|
nix-prefetch-git
|
|
#php
|
|
#phpPackages.composer
|
|
rust.rustc
|
|
rust.cargo
|
|
carnix
|
|
openssl.dev
|
|
pkgconfig
|
|
];
|
|
|
|
HISTFILE = "${toString ./.}/.bash_hist";
|
|
};
|
|
|
|
|
|
in phpEnv
|