ofborg/shell.nix
Graham Christensen 98283d4eaa
Remove PHP bits
2017-12-10 16:12:54 -05:00

41 lines
646 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";
};
rustEnv = stdenv.mkDerivation rec {
name = "gh-event-forwarder";
buildInputs = with pkgs; [
nix-prefetch-git
rust.rustc
rust.cargo
carnix
openssl.dev
pkgconfig
];
HISTFILE = "${toString ./.}/.bash_hist";
passthru.phpEnv = phpEnv;
};
in rustEnv