summaryrefslogtreecommitdiff
path: root/images4docker/dockerfiles/nix-latest.Dockerfile
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-05 20:59:48 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-05 20:59:48 +0300
commit7e9da79a0df28f875a35c2b5d128e41044c3cd53 (patch)
tree8d75eff0cabf414fbb358b6e08725f2613379189 /images4docker/dockerfiles/nix-latest.Dockerfile
parent8e281d214b033189abca8e65db581d063e9e82b4 (diff)
downloadProject-Tick-master.tar.gz
Project-Tick-master.zip
NOISSUE Refactor GitHub Actions and Dockerfiles for improved functionality and error handlingHEADmaster
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'images4docker/dockerfiles/nix-latest.Dockerfile')
-rw-r--r--images4docker/dockerfiles/nix-latest.Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/images4docker/dockerfiles/nix-latest.Dockerfile b/images4docker/dockerfiles/nix-latest.Dockerfile
index b1295ec4c9..2c46c13e66 100644
--- a/images4docker/dockerfiles/nix-latest.Dockerfile
+++ b/images4docker/dockerfiles/nix-latest.Dockerfile
@@ -8,6 +8,6 @@ ARG CLEAN_CMD=
SHELL ["/bin/sh", "-lc"]
-RUN set -eux; if [ -n "${UPDATE_CMD}" ]; then sh -lc "${UPDATE_CMD}"; fi; if [ -n "${CUSTOM_INSTALL}" ]; then sh -lc "${CUSTOM_INSTALL}"; elif [ -n "${PACKAGES}" ]; then nix-env -iA ${PACKAGES}; fi; if [ -n "${CLEAN_CMD}" ]; then sh -lc "${CLEAN_CMD}"; else nix-collect-garbage -d || true; fi; nix-channel --update && nix-env -iA nixpkgs.qt6.qtbase; export PATH="$PATH:/usr/lib/qt6/bin:/usr/lib64/qt6/bin:/usr/libexec/qt6:/opt/qt6/bin:/root/.nix-profile/bin"; if command -v qmake6 >/dev/null 2>&1 || command -v qmake-qt6 >/dev/null 2>&1 || command -v qtpaths6 >/dev/null 2>&1 || [ -x /usr/lib/qt6/bin/qmake ] || [ -x /usr/lib64/qt6/bin/qmake ] || [ -x /usr/lib/qt6/bin/qtpaths ] || [ -x /usr/lib64/qt6/bin/qtpaths ] || [ -x /usr/libexec/qt6/qmake ] || [ -x /usr/libexec/qt6/qtpaths ]; then true; else echo "Qt6 toolchain not found" >&2; exit 1; fi
+RUN set -eux; if [ -n "${UPDATE_CMD}" ]; then sh -lc "${UPDATE_CMD}"; fi; if [ -n "${CUSTOM_INSTALL}" ]; then sh -lc "${CUSTOM_INSTALL}"; elif [ -n "${PACKAGES}" ]; then nix profile install ${PACKAGES}; fi; if [ -n "${CLEAN_CMD}" ]; then sh -lc "${CLEAN_CMD}"; else nix-collect-garbage -d || true; fi; nix profile install nixpkgs#qt6.qtbase; export PATH="$PATH:/usr/lib/qt6/bin:/usr/lib64/qt6/bin:/usr/libexec/qt6:/opt/qt6/bin:/root/.nix-profile/bin"; if command -v qmake6 >/dev/null 2>&1 || command -v qmake-qt6 >/dev/null 2>&1 || command -v qtpaths6 >/dev/null 2>&1 || [ -x /usr/lib/qt6/bin/qmake ] || [ -x /usr/lib64/qt6/bin/qmake ] || [ -x /usr/lib/qt6/bin/qtpaths ] || [ -x /usr/lib64/qt6/bin/qtpaths ] || [ -x /usr/libexec/qt6/qmake ] || [ -x /usr/libexec/qt6/qtpaths ]; then true; else echo "Qt6 toolchain not found" >&2; exit 1; fi
CMD ["/bin/sh"]