From 90c5c9d8c941254f2d8af6685d99ff277e864087 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 7 Mar 2017 23:02:26 -0600 Subject: [PATCH] lilypond-with-fonts: fix typos In development, I experimented with file globs, for loops and making the supplementary fonts optional. As such, the original PR ended up with a dysfunctional combination. This commit fully adopts the for loop approach, which I prefer, since failing matches, e.g. missing supplementary-fonts/, won't cause a failure. --- pkgs/misc/lilypond/fonts.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/lilypond/fonts.nix b/pkgs/misc/lilypond/fonts.nix index 6ad4f06328d8..bb3487cd0a88 100644 --- a/pkgs/misc/lilypond/fonts.nix +++ b/pkgs/misc/lilypond/fonts.nix @@ -24,11 +24,11 @@ let installPhase = '' for f in {otf,supplementary-fonts}/**.{o,t}tf; do - install -Dt $out/otf -m755 otf/* + install -Dt $out/otf -m755 $f done for f in svg/**.{svg,woff}; do - install -Dt $out/svg -m755 svg/* + install -Dt $out/svg -m755 $f done '';