Replies: 3 comments 8 replies
-
|
Hi, I will try to figure out whats this. This is not supposed to happen as the nix shell also is not supposed to change anything other than the PATH. But anyway, if you want to enter a dev shell for development, you should use |
Beta Was this translation helpful? Give feedback.
-
> direnv reload
direnv: loading /userdata/@workspace/shell/.envrc
direnv: using flake
direnv: nix-direnv: Renewed cache
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /userdata/@workspace/shell/build
ninja: no work to do.
direnv: export +AR +AS +CAELESTIA_LIB_DIR +CAELESTIA_XKB_RULES_PATH +CC +CMAKE_INCLUDE_PATH +CMAKE_LIBRARY_PATH +CONFIG_SHELL +CXX +GETTEXTDATADIRS +GSETTINGS_SCHEMAS_PATH +HOST_PATH +IN_NIX_SHELL +LD +NIXPKGS_CMAKE_PREFIX_PATH +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS +NIX_PKG_CONFIG_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_STORE +NM +OBJCOPY +OBJDUMP +PKG_CONFIG +PKG_CONFIG_PATH +QMAKE +QMAKEMODULES +QMAKEPATH +QT_ADDITIONAL_PACKAGES_PREFIX_PATH +RANLIB +READELF +SIZE +SOURCE_DATE_EPOCH +STRINGS +STRIP +XML_CATALOG_FILES +__structuredAttrs +buildInputs +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +mesonFlags +name +nativeBuildInputs +out +outputs +patches +phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~PATH ~QML2_IMPORT_PATH ~XDG_DATA_DIRS
> echo $QML2_IMPORT_PATH
/userdata/@workspace/shell/build/qml:/home/markus/.nix-profile/lib/qt-5.15.17/qml:/home/markus/.nix-profile/lib/qt-6/qmlI think that will fix the issue |
Beta Was this translation helpful? Give feedback.
-
|
I also see on this page that the LSP has some limitations: https://quickshell.org/docs/v0.1.0/guide/install-setup/ . I think I have the best I can currently have. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
After going into the nix shell, I have what I think is the right env variable:
$ nix shell $ env | rg QML QML2_IMPORT_PATH=/home/sweenu/repos/caelestia/shell/build/qmlYet, then, when I start helix or zed from the shell, I'm getting errors on all imported variables. On my imports, I get:
I have no experience in QML development. If I'm missing something simply, I would love some help!
Beta Was this translation helpful? Give feedback.
All reactions