mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-20 11:29:44 +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";
|
char tmpfile[] = "/tmp/ldscriptXXXXXX";
|
||||||
int fd = mkstemp(tmpfile);
|
int fd = mkstemp(tmpfile);
|
||||||
if(fd < 0)
|
if(fd < 0)
|
||||||
errx(EXIT_FAILURE, "can't create temp file");
|
err(EXIT_FAILURE, "can't create temp file");
|
||||||
|
|
||||||
{
|
{
|
||||||
ofstream out(tmpfile);
|
ofstream out(tmpfile);
|
||||||
|
|
|
@ -70,6 +70,7 @@ jobs:
|
||||||
submodules: true
|
submodules: true
|
||||||
- script: |
|
- script: |
|
||||||
docker run -i --name nix -v`pwd`:/src nixos/nix:latest <<EOF
|
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 --add https://nixos.org/channels/nixos-21.11 nixpkgs
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
nix-build src -A m68k.retro68.samples
|
nix-build src -A m68k.retro68.samples
|
||||||
|
@ -91,7 +92,8 @@ jobs:
|
||||||
submodules: true
|
submodules: true
|
||||||
- script: |
|
- script: |
|
||||||
docker run -i --name nix -v`pwd`:/src nixos/nix:latest <<EOF
|
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-channel --update
|
||||||
nix-build src -A powerpc.retro68.samples
|
nix-build src -A powerpc.retro68.samples
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue
Block a user