ci: only allow redistributable package builds #15

merged
opened by a.starrysky.fyi targeting main from private/minion/push-xuwsvklxosst

ci.nix has different licensing requirements to nilla.nix, namely unfree packages are not allowed to be built at all in ci.nix. Therefore, it's good to use it over nilla.nix to avoid accidentally building a package we cannot distribute

Changed files
+3 -3
.tangled
+2 -2
.tangled/workflows/packetmix-build.yml
··· 43 43 set -o pipefail 44 44 45 45 eval_out=$(nix eval \ 46 - -f ./packetmix/nilla.nix packages.allNixOSSystems.result.x86_64-linux.drvPath \ 46 + -f ./packetmix/ci.nix packages.allNixOSSystems.result.x86_64-linux.drvPath \ 47 47 --show-trace --raw \ 48 48 2>&1 >/tmp/systems-drv-path | tee /dev/stderr) 49 49 eval_status=$? ··· 68 68 set -o pipefail 69 69 70 70 eval_out=$(nix eval \ 71 - -f ./packetmix/nilla.nix packages.allHomes.result.x86_64-linux.drvPath \ 71 + -f ./packetmix/ci.nix packages.allHomes.result.x86_64-linux.drvPath \ 72 72 --show-trace --raw \ 73 73 2>&1 >/tmp/homes-drv-path | tee /dev/stderr) 74 74 eval_status=$?
+1 -1
.tangled/workflows/packetmix-treefmt.yaml
··· 42 42 set -e 43 43 44 44 treefmt=$(nix build \ 45 - -f ./packetmix/nilla.nix packages.treefmt.result.x86_64-linux \ 45 + -f ./packetmix/ci.nix packages.treefmt.result.x86_64-linux \ 46 46 --store 'ssh-ng://remoteBuilds@midnight?ssh-key=/tmp/key-ssh-remote-build' \ 47 47 --eval-store auto \ 48 48 --show-trace --print-out-paths)