blob: 8ea07ea025f2fab4e5f8b508fe2858fab562ec4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
set -ex
prefix=$(echo $PWD | sed -e "s|^$BIZ_ROOT/*||g" -e "s|/|.|g")
if [[ "$prefix" == "" ]]
then
target="$1"
else
target="$prefix.$1"
fi
nix build -o "$BIZ_ROOT/_bild/$target" \
-f $BIZ_ROOT/default.nix "$target" --show-trace
|