Files
k8scd/nix-infra-machine/shell.nix
T
2026-03-15 18:31:53 +01:00

19 lines
367 B
Nix

let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {};
hcloud = pkgs.callPackage nix/hcloud.nix {};
isMacOS = builtins.match ".*-darwin" pkgs.stdenv.hostPlatform.system != null;
in pkgs.mkShell rec {
name = "nix-infra-machine";
buildInputs = with pkgs; [
hcloud
] ++ (if !isMacOS then [
] else []);
shellHook = ''
'';
}