KCNHUB: Matlab: Add Support for PAM-auth
parent
703675d218
commit
bda6871fc7
|
@ -59,7 +59,9 @@
|
|||
# matlab's installers)
|
||||
matlab-env = pkgs.buildFHSUserEnv {
|
||||
name = "matlab-env";
|
||||
targetPkgs = (ps: nix-matlab.targetPkgs ps);
|
||||
targetPkgs = (ps: (nix-matlab.targetPkgs ps) ++ (with ps; [
|
||||
linux-pam
|
||||
]));
|
||||
};
|
||||
|
||||
# Script used to get the most up to date version of the desired MATLAB
|
||||
|
@ -126,7 +128,7 @@
|
|||
'';
|
||||
runScript = pkgs.writeScript "matlab-run-${f}-script" ''
|
||||
export QT_QPA_PLATFORM=xcb
|
||||
${MATLAB_INSTALL_DIR}/bin/${f} "$@"
|
||||
"$MATLAB_INSTALL_DIR/bin/${f}" "$@"
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -144,6 +146,7 @@ in {
|
|||
environment.systemPackages =(with pkgs; [
|
||||
matlab-update-script
|
||||
matlab
|
||||
matlab-env
|
||||
matlab-mex
|
||||
octaveFull
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue