changed install
Some checks failed
Some checks failed
This commit is contained in:
parent
242fd47f93
commit
7f29c36557
1 changed files with 3 additions and 3 deletions
|
|
@ -16,11 +16,11 @@ stdenvNoCC.mkDerivation rec {
|
|||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/powershell-editor-services/ $out/bin
|
||||
mv * $out/lib/powershell-editor-services/
|
||||
mkdir -p $out/share/powershell/Modules $out/bin
|
||||
mv PowerShellEditorServices $out/share/powershell/Modules/
|
||||
cat > $out/bin/powershell-editor-services <<EOF
|
||||
#! ${runtimeShell} -e
|
||||
exec ${lib.getExe' powershell "pwsh"} -noprofile -nologo -c "& '$out/lib/powershell-editor-services/PowerShellEditorServices/Start-EditorServices.ps1' \$@"
|
||||
exec ${lib.getExe' powershell "pwsh"} -noprofile -nologo -c "& '$out/share/powershell/Modules/PowerShellEditorServices/Start-EditorServices.ps1' \$@"
|
||||
EOF
|
||||
chmod +x $out/bin/powershell-editor-services
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue