nixcfg-azure-devenv: avoid top-level with in shell.nix

This commit is contained in:
Philip Taron 2024-07-15 21:28:19 -07:00 committed by Valentin Gagarin
parent 2b67819d55
commit 4c7b49613a

View File

@ -1,13 +1,16 @@
with (import ../../../../default.nix {});
stdenv.mkDerivation {
{
pkgs ? import ../../../../default.nix { },
}:
pkgs.stdenv.mkDerivation {
name = "nixcfg-azure-devenv";
nativeBuildInputs = [
nativeBuildInputs = with pkgs; [
azure-cli
bash
cacert
azure-storage-azcopy
];
AZURE_CONFIG_DIR="/tmp/azure-cli/.azure";
AZURE_CONFIG_DIR = "/tmp/azure-cli/.azure";
}