Skip to content

Commit

Permalink
fix BUILD_IMAGE unbound var
Browse files Browse the repository at this point in the history
  • Loading branch information
bri committed Feb 14, 2024
1 parent d5a6cc1 commit 805bb67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ WITH_CACHIX(){

BUILD_IMAGE(){
mkdir -p build
ARCH="$(_ARCH)"
BUILD_FILE="$(nix build ".#nixosConfigurations.$(_TARGET)@${ARCH//arm/aarch}-${OS}.config.formats.$(_FORMAT)" --print-out-paths --show-trace --accept-flake-config)"
cp "${BUILD_FILE}" "build/"
}
Expand Down

0 comments on commit 805bb67

Please sign in to comment.