adjustments to shell.nix

This commit is contained in:
Chris Cochrun 2022-07-05 10:13:45 -05:00
parent ab75591db1
commit 2f51355f49
2 changed files with 11 additions and 9 deletions

View file

@ -38,13 +38,13 @@ mkShell {
];
# This creates the proper qt env so that plugins are found right.
shellHook = ''
# setQtEnvironment=$(mktemp --suffix .setQtEnvironment.sh)
# echo "shellHook: setQtEnvironment = $setQtEnvironment"
# makeWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}"
# sed "/^exec/d" -i "$setQtEnvironment"
# source "$setQtEnvironment"
# export QT_QPA_PLATFORM_PLUGIN_PATH=${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins/platformthemes
# export QML2_IMPORT_PATH=${libsForQt5.kirigami2}/lib/${builtins.replaceStrings ["full-"] [""] qt5.full.name}/qml
'';
# shellHook = ''
# # setQtEnvironment=$(mktemp --suffix .setQtEnvironment.sh)
# # echo "shellHook: setQtEnvironment = $setQtEnvironment"
# # makeWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}"
# # sed "/^exec/d" -i "$setQtEnvironment"
# # source "$setQtEnvironment"
# # export QT_QPA_PLATFORM_PLUGIN_PATH=${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins/platformthemes
# # export QML2_IMPORT_PATH=${libsForQt5.kirigami2}/lib/${builtins.replaceStrings ["full-"] [""] qt5.full.name}/qml
# '';
}