1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

kdeFrameworks: properly fix hook

This commit is contained in:
Frederik Rietdijk 2019-11-23 19:23:52 +01:00
parent c8acd48172
commit c3c84bbb2c

View file

@ -42,7 +42,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 $dev so that this setup hook is propagated