nixos-config/.github/workflows/build-flake-packages.sh

11 lines
168 B
Bash
Raw Normal View History

#!/bin/sh
set -xe
PACKAGES=$(nix flake show --json \
| jq '.packages."x86_64-linux" | keys[]')
for package in $PACKAGES; do
2021-11-02 16:27:10 +01:00
nix build --verbose -L .#$package
done