diff options
author | Zhaofeng Li <hello@zhaofeng.li> | 2022-09-08 14:55:32 -0600 |
---|---|---|
committer | Zhaofeng Li <hello@zhaofeng.li> | 2022-09-08 14:55:32 -0600 |
commit | 7df746316d7ad615811a558169478c55b227e536 (patch) | |
tree | 175efed3fa3867bee3151e11e3be6a4e20c51567 /pkgs/data/fonts/hermit | |
parent | 40e49795aa405221e35501da797d3f3351d19cf8 (diff) |
hermit: Fix build
Fallout from #173430.
Diffstat (limited to 'pkgs/data/fonts/hermit')
-rw-r--r-- | pkgs/data/fonts/hermit/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/data/fonts/hermit/default.nix b/pkgs/data/fonts/hermit/default.nix index 3ff5dd3682923..999a8995b46e4 100644 --- a/pkgs/data/fonts/hermit/default.nix +++ b/pkgs/data/fonts/hermit/default.nix @@ -8,9 +8,12 @@ in fetchzip rec { url = "https://pcaro.es/d/otf-${name}.tar.gz"; + stripRoot = false; postFetch = '' - tar xf $downloadedFile - install -m444 -Dt $out/share/fonts/opentype *.otf + install -m444 -Dt $out/share/fonts/opentype $out/*.otf + shopt -s extglob dotglob + rm -rf $out/!(share) + shopt -u extglob dotglob ''; sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl"; |