Skip to content

Instantly share code, notes, and snippets.

@asymmetric
Last active April 19, 2019 20:47
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 asymmetric/8e9c933bbc72dfb1434504ddba509aa5 to your computer and use it in GitHub Desktop.
Save asymmetric/8e9c933bbc72dfb1434504ddba509aa5 to your computer and use it in GitHub Desktop.
newer nixops
let
overlay = self: super:
{
nixops = super.nixopsUnstable.overrideAttrs (_: rec {
version = "1.8-unstable";
src = fetchTarball {
url = https://github.com/asymmetric/nixops/archive/hetzner-cloud.tar.gz;
sha256 = "0xdaxpaalggbcsbn5r4n7svl59ycrfpy2cgfjgvkxf75i6vr6x47";
};
});
};
pkgs' = fetchTarball {
url = https://github.com/nixos/nixpkgs-channels/archive/nixos-19.03.tar.gz;
sha256 = "16nryjvfaw2dq55yp34hcw5bz8nlidhdi3yvr2ilr7lrlm4k54p1";
};
pkgs = (import pkgs' { overlays = [ overlay ]; });
in
pkgs.stdenv.mkDerivation rec {
name = "nixops-env";
buildInputs = with pkgs; [ nixops ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment