This commit is contained in:
Wolfgang Thaller 2022-01-01 16:14:27 +01:00
parent ec180a668b
commit 3fde20eed6
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -70,6 +70,7 @@ jobs:
submodules: true
- script: |
docker run -i --name nix -v`pwd`:/src nixos/nix:latest <<EOF
chmod 1777 /tmp
nix-channel --add https://nixos.org/channels/nixos-21.11 nixpkgs
nix-channel --update
nix-build src -A m68k.retro68.samples
@ -91,7 +92,8 @@ jobs:
submodules: true
- script: |
docker run -i --name nix -v`pwd`:/src nixos/nix:latest <<EOF
nix-channel --add https://nixos.org/channels/nixos-21.11 nixpkgs
chmod 1777 /tmp
nix-channel --add https1://nixos.org/channels/nixos-21.11 nixpkgs
nix-channel --update
nix-build src -A powerpc.retro68.samples
EOF