mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 04:26:01 +01:00
This should speed up the CI somewhat by parallelizing the work across the matrix of configurations.
11 lines
259 B
Bash
Executable file
11 lines
259 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
nix build -L ".#installerScriptForGHA" ".#binaryTarball"
|
|
|
|
mkdir -p out
|
|
cp ./result/install "out/install"
|
|
name="$(basename "$(realpath ./result-1)")"
|
|
# everything before the first dash
|
|
cp -r ./result-1 "out/${name%%-*}"
|