HomePhabricator
Diffusion Comm 13422ce6745b

[Nix] Fix undeclared failure

Description

[Nix] Fix undeclared failure

Summary:
'set -u' will error if a variable is unset. Add bash
substitution to prevent the undefined variable causing an error.

https://linear.app/comm/issue/ENG-2838

Test Plan:

PS1= ./scripts/prompt_macos_direnv.sh

Reviewers: varun, atul

Reviewed By: varun, atul

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D6404

Details

Provenance
jonAuthored on Jan 26 2023, 1:02 PM
Reviewer
varun
Differential Revision
D6404: [Nix] Fix undeclared failure
Parents
rCOMMadc6be45d0b6: [lib] add emoji tests file
Branches
Unknown
Tags
Unknown