9 lines
350 B
Bash
Executable File
9 lines
350 B
Bash
Executable File
#! /bin/sh -e
|
|
|
|
export NIX_PATH=nixpkgs=../../../..
|
|
export NIXOS_CONFIG=$(dirname $(readlink -f $0))/../../../modules/virtualisation/azure-image.nix
|
|
export TIMESTAMP=$(date +%Y%m%d%H%M)
|
|
|
|
nix-build '<nixpkgs/nixos>' \
|
|
-A config.system.build.azureImage --argstr system x86_64-linux -o azure --option extra-binary-caches https://hydra.nixos.org -j 10
|