Created
March 5, 2018 15:51
-
-
Save grahamc/bacd8f9193c0bfbf52b1b091a25ad406 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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