Skip to content

Instantly share code, notes, and snippets.

@dminuoso
Created February 25, 2021 21:38
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 dminuoso/14263ff59a127243bfeaf29c7a7c5d00 to your computer and use it in GitHub Desktop.
Save dminuoso/14263ff59a127243bfeaf29c7a7c5d00 to your computer and use it in GitHub Desktop.
let
commitRev = "cb2cdab71368885ce6408b3ad7cfcf544a8c38a0"; # 19.09 on 2019-09-12
nixpkgs = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/${commitRev}.tar.gz";
sha256 = "02vyx2ccrfqxz7ndlfww1ivqbq1qlmglq5690r6nvmylcm976dqw";
};
pkgs = import nixpkgs { config = {}; };
in
pkgs.mkShell {
buildInputs = [ pkgs.nixops ];
shellHook = ''
export NIX_PATH="nixpkgs=${nixpkgs}"
export NIXOPS_DEPLOYMENT="mail"
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment