Skip to content

Commit 415ef7a

Browse files
dashy-ui: fix uncalled settings override phase (#360933)
1 parent a9cc274 commit 415ef7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/by-name/da/dashy-ui/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
3030
# the way the client parses things
3131
# - Instead, we use `yq-go` to convert it to yaml
3232
# Config validation needs to happen after yarnConfigHook, since it's what sets the yarn offline cache
33-
postYarnConfigHook = lib.optional (settings != { }) ''
33+
preBuild = lib.optional (settings != { }) ''
3434
echo "Writing settings override..."
3535
yq --output-format yml '${builtins.toFile "conf.json" ''${builtins.toJSON settings}''}' > user-data/conf.yml
3636
yarn validate-config --offline

0 commit comments

Comments
 (0)