mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-09-11 08:35:24 +03:00
11 lines
205 B
HCL
11 lines
205 B
HCL
data "external" "nix-build" {
|
|
program = [ "${path.module}/nix-build.sh" ]
|
|
query = {
|
|
attribute = var.attribute
|
|
file = var.file
|
|
}
|
|
}
|
|
output "result" {
|
|
value = data.external.nix-build.result
|
|
}
|