diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-25 04:21:47 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-25 15:48:31 -0500 |
commit | a0f4d19925705945b2beb393239f1a9f72b5035d (patch) | |
tree | 53b22f08af9b858d0ae94113944994ba8a158623 /pkgs/misc/lilypond | |
parent | 73b11060fc0725fbafac8a8393bc0098f284ef33 (diff) | |
download | nixpkgs-a0f4d19925705945b2beb393239f1a9f72b5035d.tar nixpkgs-a0f4d19925705945b2beb393239f1a9f72b5035d.tar.gz nixpkgs-a0f4d19925705945b2beb393239f1a9f72b5035d.tar.bz2 nixpkgs-a0f4d19925705945b2beb393239f1a9f72b5035d.tar.lz nixpkgs-a0f4d19925705945b2beb393239f1a9f72b5035d.tar.xz nixpkgs-a0f4d19925705945b2beb393239f1a9f72b5035d.tar.zst nixpkgs-a0f4d19925705945b2beb393239f1a9f72b5035d.zip |
treewide: use appendToName where appropriate
Using appendToName preserves the version at the end of the name.
Diffstat (limited to 'pkgs/misc/lilypond')
-rw-r--r-- | pkgs/misc/lilypond/with-fonts.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/misc/lilypond/with-fonts.nix b/pkgs/misc/lilypond/with-fonts.nix index 2218b75a2e0..5bc74cb65dd 100644 --- a/pkgs/misc/lilypond/with-fonts.nix +++ b/pkgs/misc/lilypond/with-fonts.nix @@ -5,8 +5,8 @@ , fonts ? openlilylib-fonts.all }: -stdenv.mkDerivation { - name = "${lilypond.name}-with-fonts"; +stdenv.lib.appendToName "with-fonts" (stdenv.mkDerivation { + inherit (lilypond) name; phases = "installPhase"; buildInputs = fonts; nativeBuildInputs = [ lndir ]; @@ -32,4 +32,4 @@ stdenv.mkDerivation { substituteInPlace $p --replace "exec -a \"${lilypond}" "exec -a \"$out" done ''; -} +}) |