Merge pull request #218990 from SuperSandro2000/dgraph

dgraph: use --prefix to prefix PATH
This commit is contained in:
Jan Tojnar 2023-03-23 16:40:43 +01:00 committed by GitHub
commit 598cf2090c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ let
''
mkdir -p $out/bin
makeWrapper ${cfg.package}/bin/dgraph $out/bin/dgraph \
--set PATH '${lib.makeBinPath [ pkgs.nodejs ]}:$PATH' \
--prefix PATH : "${lib.makeBinPath [ pkgs.nodejs ]}" \
'';
securityOptions = {
NoNewPrivileges = true;