mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
17 lines
357 B
Nix
17 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
|
|
'';
|
|
})
|