Created
March 12, 2021 15:26
-
-
Save jhillyerd/ee0028f6564ab38fa382592f325d4842 to your computer and use it in GitHub Desktop.
dev shell flake
This file contains hidden or 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 = "my nixops & ansible configruation"; | |
inputs = { | |
flake-utils.url = "github:numtide/flake-utils"; | |
hello.url = "github:ihsanturk/hello-world-nix?rev=03ec3abd2def85a97425660a96aa31565cc77821"; | |
nixops-flake.url = "github:input-output-hk/nixops-flake"; | |
}; | |
outputs = { self, nixpkgs, flake-utils, hello, nixops-flake }: | |
flake-utils.lib.eachDefaultSystem | |
(system: let | |
pkgs = nixpkgs.legacyPackages.${system}; | |
in | |
{ | |
devShell = pkgs.mkShell { | |
buildInputs = with pkgs; [ | |
ansible | |
hello.defaultPackage.${system} | |
nixops-flake.defaultPackage.${system} | |
]; | |
}; | |
} | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment