Skip to content

Commit

Permalink
better filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
bri committed Feb 14, 2024
1 parent 5480c21 commit 5ca4d4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ BUILD_IMAGE(){
mkdir -p build
ARCH="$(_ARCH)"
BUILD_FILE="$(nix build ".#nixosConfigurations.$(_TARGET)@${ARCH//arm/aarch}-${OS}.config.formats.$(_FORMAT)" "${IMAGE_BUILD_FLAGS[@]}")"
cp "${BUILD_FILE}" "build/"
#BASE_FILE="$(basename "${BUILD_FILE}")"
CUT_FILE="$(cut -d- -f2- <<<"${BUILD_FILE}")"
cp "${BUILD_FILE}" "build/$(_PREFIX)${CUT_FILE}"
}

LIST_RENAME_BUILD_ARTIFACTS(){
Expand Down

0 comments on commit 5ca4d4d

Please sign in to comment.