mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
65dcd244bc
I'm not really sure how the line directly after ended up with this, but this line didn't...
8 lines
327 B
Bash
Executable file
8 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
|