From 3fde20eed6a3696fdad0001ad8b82521f06439dd Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sat, 1 Jan 2022 16:14:27 +0100 Subject: [PATCH] work around Nixos/nix#5851 --- Elf2Mac/Elf2Mac.cc | 2 +- azure-pipelines.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Elf2Mac/Elf2Mac.cc b/Elf2Mac/Elf2Mac.cc index 4a4589b2ed..2c5a11ef29 100644 --- a/Elf2Mac/Elf2Mac.cc +++ b/Elf2Mac/Elf2Mac.cc @@ -181,7 +181,7 @@ int main(int argc, char *argv[]) char tmpfile[] = "/tmp/ldscriptXXXXXX"; int fd = mkstemp(tmpfile); if(fd < 0) - errx(EXIT_FAILURE, "can't create temp file"); + err(EXIT_FAILURE, "can't create temp file"); { ofstream out(tmpfile); diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 27d087c241..72cb0c95e9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -70,6 +70,7 @@ jobs: submodules: true - script: | docker run -i --name nix -v`pwd`:/src nixos/nix:latest <