mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
dgraph: use --prefix to prefix PATH
This is more robust in case PATH is empty or otherwise weird.
This commit is contained in:
parent
5d609e47fe
commit
86053e5ec2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue