diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-11-19 14:02:03 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-11-20 09:58:26 +0100 |
commit | 78d7e5618f7e3d2aa285c8d66adbe546354dff98 (patch) | |
tree | a6d95e2de5abe603d841eaf97797782807790bf3 /pkgs/desktops/plasma-5 | |
parent | 2a85ee83b22d6f7abc4ea9603b7672986cf40466 (diff) |
plasma5 setup hook: provide a default hookName
Diffstat (limited to 'pkgs/desktops/plasma-5')
-rw-r--r-- | pkgs/desktops/plasma-5/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/desktops/plasma-5/default.nix b/pkgs/desktops/plasma-5/default.nix index e188e4e3fcdd..4a8c3f408314 100644 --- a/pkgs/desktops/plasma-5/default.nix +++ b/pkgs/desktops/plasma-5/default.nix @@ -43,7 +43,7 @@ let propagate = out: let setupHook = { writeScript }: writeScript "setup-hook" '' - if [ "$hookName" != postHook ]; then + if [ "${hookName:-}" != postHook ]; then postHooks+=("source @dev@/nix-support/setup-hook") else # Propagate $${out} output |