mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
65dcd244bc
I'm not really sure how the line directly after ended up with this, but this line didn't...
9 lines
327 B
Bash
Executable File
9 lines
327 B
Bash
Executable File
#! /bin/sh -eu
|
|
|
|
export NIX_PATH=nixpkgs=$(dirname $(readlink -f $0))/../../../..
|
|
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 -j 10
|