Created
January 15, 2020 03:17
-
-
Save disassembler/ea30d63a8586517030ceeeac47d246b2 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 <nixpkgs> {}; | |
nixopsSrc = pkgs.fetchFromGitHub { | |
owner = "input-output-hk"; | |
repo = "nixops"; | |
rev = "28dd42a2dc9f6bada1ea587de80cde8dae0ddbf0"; | |
sha256 = "0a74c8f0hpb60s91f3igx63zx8amblp3iqr6ic3fdr28nvmvbhgr"; | |
}; | |
nixopsPacketSrc = pkgs.fetchFromGitHub { | |
owner = "input-output-hk"; | |
repo = "nixops-packet"; | |
rev = "41fe0992f9cfe4b3ad37aba8d113a826a4a3997f"; | |
sha256 = "165a07fy6yymgsw9xs9g6w0ml39kc1mxclhqfrd7vbn2xdzgjc50"; | |
}; | |
nixops = (import (nixopsSrc + "/release.nix") { | |
nixpkgs = <nixpkgs>; | |
p = (p: | |
let | |
nixops-packet = p.callPackage (nixopsPacketSrc + "/release.nix") {}; | |
in [ p.aws nixops-packet ]); | |
}).build.${builtins.currentSystem}; | |
shell = pkgs.mkShell { buildInputs = [ nixops ]; }; | |
in shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment