Created
February 25, 2021 21:38
-
-
Save dminuoso/14263ff59a127243bfeaf29c7a7c5d00 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 | |
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