mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-16 19:32:07 +00:00
work around Nixos/nix#5851
This commit is contained in:
parent
ec180a668b
commit
3fde20eed6
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user