-
-
Save rajivr/714dda28d40a60b87df724264d66130d 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
{ | |
description = "NixOS GCE image creation development environment"; | |
inputs.nixpkgs.url = "nixpkgs/nixos-20.09"; | |
inputs.nixos-generators = { | |
url = "github:rajivr/nixos-generators/add-flake-support"; | |
inputs.nixpkgs.follows = "nixpkgs"; | |
}; | |
outputs = { self, nixpkgs, nixos-generators }: { | |
devShell.x86_64-linux = | |
let | |
pkgs = nixpkgs.legacyPackages.x86_64-linux; | |
in | |
pkgs.mkShell { | |
buildInputs = | |
[ | |
nixos-generators.defaultPackage.x86_64-linux | |
pkgs.google-cloud-sdk | |
]; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment