1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/misc/lilypond/with-fonts.nix
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00

18 lines
357 B
Nix

{ stdenv, lndir, symlinkJoin, makeWrapper
, lilypond, openlilylib-fonts
}:
stdenv.lib.appendToName "with-fonts" (symlinkJoin {
inherit (lilypond) meta name version ;
paths = [ lilypond ];
buildInputs = [ makeWrapper lndir ];
postBuild = ''
for p in $out/bin/*; do
wrapProgram "$p" --set LILYPOND_DATADIR "$datadir"
done
'';
})