1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-12 05:16:30 +03:00

actions: try to fix aarch64 builds

This commit is contained in:
Ben Wolsieffer 2021-04-17 13:46:53 -04:00
parent 61753c29f4
commit f8a9e981b7
3 changed files with 5 additions and 2 deletions

View file

@ -1450,7 +1450,7 @@ function instantiate(file, attribute, drvDir, system) {
'--add-root', path.join(drvDir, attribute), '--indirect'
];
if (system !== undefined) {
args.push('--system', system, '--extra-platforms', system);
args.push('--option', 'system', system);
}
let drvPaths;
try {

View file

@ -80,7 +80,7 @@ export async function instantiate(
'--add-root', path.join(drvDir, attribute), '--indirect'
]
if (system !== undefined) {
args.push('--system', system, '--extra-platforms', system)
args.push('--option', 'system', system)
}
let drvPaths
try {

View file

@ -20,6 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
with:
extra_nix_config: |
extra-platforms = aarch64-linux
- uses: docker/setup-qemu-action@v1
- uses: cachix/cachix-action@v8
with: