Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created March 5, 2018 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/bacd8f9193c0bfbf52b1b091a25ad406 to your computer and use it in GitHub Desktop.
Save grahamc/bacd8f9193c0bfbf52b1b091a25ad406 to your computer and use it in GitHub Desktop.
let
pkgs = import ./nix;
inherit (pkgs) stdenv;
in stdenv.mkDerivation rec {
name = "foo";
buildInputs = with pkgs; [
nix-prefetch-git
git
nixops
(terraform_0_11.withPlugins (plugins: [
terraform-provider-nixos
terraform-provider-hcloud
plugins.packet
plugins.local
plugins.aws
plugins.dns
plugins.rabbitmq
]))
];
HISTFILE = "${toString ./.}/.bash_hist";
NIXOPS_DEPLOYMENT = "ofborg-production";
NIX_PATH = "nixpkgs=${pkgs.path}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment