Add shellHook from shell.nix
This commit is contained in:
parent
8b486df059
commit
0ac8b9ed62
@ -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";
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user