Add shellHook from shell.nix

This commit is contained in:
Roland Coeurjoly 2024-03-01 13:05:21 +01:00
parent 8b486df059
commit 0ac8b9ed62

View File

@ -74,6 +74,12 @@
devShell = pkgs.mkShell {
buildInputs = [ self.packages.${system}.default ];
shellHook = ''
export TRELLIS_INSTALL_PREFIX=${pkgs.trellis}
export ICESTORM_INSTALL_PREFIX=${pkgs.icestorm}
export QT_QPA_PLATFORM_PLUGIN_PATH="${pkgs.libsForQt5.qt5.qtbase.bin}/lib/qt-${pkgs.libsForQt5.qt5.qtbase.version}/plugins";
'';
};
});
}