15 lines
241 B
Bash
Executable file
15 lines
241 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -xe
|
|
|
|
PACKAGES=$(nix flake show \
|
|
| grep ': package' \
|
|
| sed 's/\x1b\[[0-9;]*m//g' \
|
|
| sed -E 's/^.*───([A-Za-z/"-]+):.*$/\1/' \
|
|
| sort \
|
|
| uniq)
|
|
|
|
for package in $PACKAGES; do
|
|
nix build --verbose -L .#$package
|
|
done
|