Skip to content

Commit

Permalink
dashy-ui: fix uncalled settings override phase (NixOS#360933)
Browse files Browse the repository at this point in the history
(cherry picked from commit 415ef7a)
  • Loading branch information
TheRealGramdalf authored and prinzdezibel committed Dec 4, 2024
1 parent 307ed1b commit dc80b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/da/dashy-ui/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
# the way the client parses things
# - Instead, we use `yq-go` to convert it to yaml
# Config validation needs to happen after yarnConfigHook, since it's what sets the yarn offline cache
postYarnConfigHook = lib.optional (settings != { }) ''
preBuild = lib.optional (settings != { }) ''
echo "Writing settings override..."
yq --output-format yml '${builtins.toFile "conf.json" ''${builtins.toJSON settings}''}' > user-data/conf.yml
yarn validate-config --offline
Expand Down

0 comments on commit dc80b2b

Please sign in to comment.