Commit Graph

42 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
eaaf0eba0b lilypond: 2.24.3 -> 2.24.4 2024-07-25 04:30:48 +00:00
Omid Momenzadeh
670ac47e52
lilypond: avoid resetting the PATH in makeWrapper
Using `--set` obscures the user's `PATH`, which
`lilypond-invoke-editor` depends on. The problem can be reproduced by
setting the `LYEDITOR` environment variable before executing
`lilypond-invoke-editor`.
2024-07-06 15:20:25 +03:30
北雁 Cryolitia
93a9ca34fe
ghostscript: add output fonts 2024-05-28 11:50:34 +08:00
Astro
91b878a48b
lilypond: fix $PATH (#302423)
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-04-18 11:35:05 +02:00
Weijia Wang
eb928bae95 lilypond, denemo: migrate to guile 3 2024-01-03 01:40:50 +01:00
R. Ryantm
9b2b4ee621 lilypond: 2.24.2 -> 2.24.3 2023-11-23 19:06:58 -06:00
Vincenzo Mantova
f6a496b3de lilypond: replace texlive.combine with texliveSmall.withPackages 2023-11-05 13:43:29 +00:00
Janne Heß
3aadd2daf2 lilypond: 2.24.1 -> 2.24.2 2023-08-25 21:35:30 -05:00
Weijia Wang
6eccbaa3b1 lilypond: pin guile_2_2 2023-08-04 11:55:25 +02:00
Norman Gray
a237301676 lilypond: adjust fontconfig on macOS
This addresses issue #209525.  The code changes are from @yurrriq.
2023-05-05 14:08:21 -05:00
R. Ryantm
0fae3035a1 lilypond: 2.24.0 -> 2.24.1 2023-02-20 17:32:17 +00:00
Samuel Tam
742ba56e7b
lilypond, lilypond-unstable: bump version, add passthru.updateScript (#207727)
* lilypond: add passthru.updateScript

* lilypond: 2.22.2 -> 2.24.0

* lilypond-unstable: 2.23.12 -> 2.25.1
2023-01-30 12:00:34 -05:00
R. Ryantm
5218aba132 lilypond: 2.22.1 -> 2.22.2 2022-03-04 20:41:47 -06:00
R. RyanTM
db770a84f1 lilypond: 2.22.0 -> 2.22.1 2021-05-08 17:06:50 -07:00
ajs124
5a0ba0fa88 lilypond: 2.20.0 -> 2.22.0 2021-03-03 03:38:39 +01:00
Ben Siraphob
fce00d15c2 pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Martin Weinelt
500d7b81f9
lilypond: add patch to restrict embedded-{ps,svg} when -dsafe is used
Fixes: CVE-2020-17353
Closes: #96802
2020-10-01 05:31:29 +02:00
Orivej Desh
2e099c7e53 lilypond: 2.18.2 -> 2.20.0 2020-03-13 23:34:56 +00:00
Benjamin Hipple
f167ba637d lilypond: fix broken meta.homepage
The `src.meta` attribute does not exist, and even if it did the derivation does
not have a `rec` to reference it. This appears to be breaking all ofBorg meta
evaluation checks:

```
while evaluating the attribute 'homepage' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-0-gleber.ewr1.nix.ci/pkgs/misc/lilypond/fonts.nix:34:27:
undefined variable 'src' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-0-gleber.ewr1.nix.ci/pkgs/misc/lilypond/fonts.nix:34:18
```
https://gist.github.com/GrahamcOfBorg/cd87009bfee1a9c0d4f0d828b82ee09a
2020-03-13 11:55:35 -04:00
Benjamin Esham
69f4b8cf99 lilypond: mark not broken on Darwin 2020-02-02 12:23:48 -08:00
Eric Bailey
287ab732d9 lilypond: mark broken on darwin 2019-06-10 12:30:28 -05:00
Eric Bailey
79478b8369 lilypond: rework
- fetchurl -> fetchgit
- urwfonts -> ghostscript/share/fonts
- Add me as maintainer
2019-06-10 12:30:22 -05:00
Milan Svoboda
2f59db4fa9 Fix configure error - incorrectly detected fontforge version 2019-04-23 21:35:18 +02:00
Vladimír Čunát
587037c42d
lilypond: disable parallel building
Example failure: https://hydra.nixos.org/build/63597640
2017-11-05 19:18:34 +01:00
Frederik Rietdijk
481eea3280 lilypond: use python2 2016-10-18 23:16:09 +02:00
Michael Raskin
1a97cfb91f lilypond: set some HOME during the build for Metafont 2016-03-28 01:00:27 +02:00
Michael Raskin
3570bc30af lilypond: add a workaround for fontforge version detection
A part of Fontforge store path was taken as a part of the version by
configure script leading to a version check failure.
2015-12-27 18:43:58 +01:00
Stéphane Jourdois
ffd26935cc lilypond: allow build on darwin 2015-10-31 12:24:25 +01:00
Thomas Tuegel
2de259f574 lilypond: disable argv[0] passthrough
Fixes #10290. Lilypond finds its Guile libraries by looking at the path
in argv[0], so it should be hardcoded to the real absolute path to the
executable.
2015-10-09 07:18:41 -05:00
Vladimír Čunát
77084d3056 lilypond: fix with new dblatex+texlive, fix meta
Also enableParallelBuilding, as it took quite some time to build.
/cc maintainer @MarcWeber.
2015-09-23 21:14:16 +02:00
Raffael Mancini
ff3dde4904 lilypond: updated from 2.16.2 to 2.18.2 2014-10-12 14:52:55 +02:00
Bjørn Forsman
68a6c0e3e9 lilypond: unbreak build by adding t1utils to buildInputs
lilypond needs the 't1asm' tool from t1utils to build. t1asm used to be
provided by texlive-core, but does no more  (since texlive-core-2014
update).
2014-06-11 21:17:50 +02:00
Peter Simons
66da23b011 lilypond: cosmetic changes 2014-06-11 11:00:35 +02:00
Bjørn Forsman
48d3c12304 lilypond: add missing ghostscript path to wrapper 2013-09-28 21:07:48 +02:00
Petr Rockai
dd23b30120 lilypond: Update to 2.16.2, fix guile. 2013-05-18 13:35:14 +02:00
Michael Raskin
bdb1ccaf80 Lilypond: update to 2.14.2 2012-08-05 23:10:49 +04:00
Michael Raskin
c05a95f8f6 Update Lilypond - this also fixes its build
svn path=/nixpkgs/trunk/; revision=25525
2011-01-12 18:19:43 +00:00
Eelco Dolstra
f1598a8941 * More cleanup.
svn path=/nixpkgs/trunk/; revision=22798
2010-07-28 18:01:17 +00:00
Armijn Hemel
305c1b8ae5 update to 2.13.9
svn path=/nixpkgs/trunk/; revision=19103
2009-12-25 00:01:31 +00:00
Marc Weber
5319704f80 removing old bleeding edge cruft replacing it by a niftier version using
source regions which are substituded by the tool nix-repository-manager.
See http://github.com/MarcWeber/nix-repository-manager/raw/master/README.

sourceByName is called sourceFromHead now.

updates: MPlayerTrunk, haxe, neko, netsurf, cinelerra, ctags
cinelerra does no longer build due to Xorg update

svn path=/nixpkgs/trunk/; revision=18894
2009-12-11 13:58:23 +00:00
Marc Weber
3201717bdb adding lilypond
svn path=/nixpkgs/trunk/; revision=17028
2009-09-10 16:57:56 +00:00