Commit Graph

126 Commits

Author SHA1 Message Date
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Jamie Magee
3f44f98312 mono4: remove 2025-08-25 21:18:11 -07:00
Jamie Magee
d8994cc376 mono5: remove 2025-08-25 21:08:50 -07:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Grimmauld
b0319a96fb mono: 6.14.0 -> 6.14.1 2025-05-17 16:59:29 +02:00
Grimmauld
85e1bcb3a6 mono: 6.12.0.182 -> 6.14.0
The original Mono project [1] was archived.
It is now maintained by WineHQ on their gitlab [2].

This changes the homepage for the new mono package,
and moves the source fetchers to the version profiles.

[1] https://www.mono-project.com/
[2] https://gitlab.winehq.org/mono/mono
2025-05-17 16:13:51 +02:00
Emily
954bb3bb03 treewide: remove references to deprecated darwin.libobjc stub
This was done with booxter’s fantastic [nix-clean-apple_sdk] tool,
simply modified to look for `libobjc` rather than the existing list he
already used in <https://github.com/NixOS/nixpkgs/pull/398707>. Some
manual work was applied, including cleaning up a string interpolation
in the terrifying MacVim derivation, stray comments, empty lists,
function parameters, and `inherit`s, including all of the references in
`all-packages.nix`.

[nix-clean-apple_sdk]: https://github.com/booxter/nix-clean-apple_sdk
2025-04-21 20:41:03 +01:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Benjamin Sparks
bf6a2d24fb mono: prefer replace-fail 2025-03-30 01:08:46 +01:00
Benjamin Sparks
4a5d03c5b0 mono: remove llvm build 2025-03-21 23:06:47 +01:00
FliegendeWurst
452816f963 mono: mark cross as broken 2025-01-26 14:42:01 +01:00
David McFarland
32c543575b mono{4,5}: fix build on gcc 14 2025-01-06 14:52:02 -04:00
Ulysses Zhan
4d2a2ff20d mono: set meta.mainProgram 2024-11-21 15:30:49 -08:00
Ulysses Zhan
17a8a6b7e4 mono: format 2024-11-21 15:28:53 -08:00
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
Anderson Torres
084dc9a4df treewide: remove vrthra from meta.maintainers [no orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since at least 2017.
2024-07-07 12:18:57 -03:00
Alexandre Iooss
3fbf12bd52 mono: use strictDeps 2023-11-16 08:37:01 +01:00
06kellyjac
ac33ccf779 mono: add licensing details 2023-06-19 13:30:09 +01:00
Sandro Jäckel
80f99bc8f6 mono: cleanup 2022-11-28 01:55:12 +01:00
Jiajie Chen
600133b855 mono: 6.12.0.122 -> 6.12.0.182 2022-07-11 14:12:10 +08:00
Randy Eckenrode
9ce157afc8 mono: fix broken mono4 build on Darwin 2022-06-01 18:30:17 -04:00
Randy Eckenrode
1622a6cdeb mono: be more precise in flagging broken builds 2022-06-01 18:30:05 -04:00
Rick van Schijndel
0b45cae8a3 treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
Vanilla
7a40820de6 mono6: 6.12.0.90 -> 6.12.0.122 2021-08-17 14:13:44 +08:00
Daniel Șerbănescu
1c1ee711c1 mono5: 5.20.1.27 -> 5.20.1.34 2021-01-31 10:38:13 +01:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
Peter Stewart
ade59d25e8 mono6: 6.0.0.313 -> 6.12.0.90 2020-11-06 14:39:56 -08:00
Vladimír Čunát
bb9f138f00 mono5: fixup build by using older gnumake
Of course, feel free to find a better fix.  For simplicity,
I switched all mono versions, even though 4 and 6 built fine on Hydra.
2020-07-06 11:10:36 +02:00
Pierre Bourdon
f96842292f mono: don't propagate a dependency to glib-dev
This was added in 2005 back in r51ce4ea2. This was not commented or
explained anywhere, and it does not seem to be necessary anymore
according to some quick testing I did.

Reduces mono closure size by ~100M.
2020-06-14 12:53:31 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
c30b4a746f mono: fix build w/glibc-2.30 2020-02-13 13:08:26 -08:00
Frederik Rietdijk
531a48ebdb Merge master into staging-next 2020-02-09 11:00:29 +01:00
Jiri Danek
7639c4adc2 mono: remove outdated wokaround 2020-02-09 10:26:07 +01:00
Maximilian Bosch
4f5830cf9e mono4: fix build w/glibc-2.30 2020-01-25 12:15:03 +01:00
Maximilian Bosch
7fea9df027 mono: fix build w/glibc-2.30 2020-01-23 01:46:29 +01:00
Pierre Bourdon
dc5085e6b0 mono: remove dontStrip from derivation
This was introduced in 2010 in 9e16b812 and as far as I can tell the
issue mentioned in the comment does not exist anymore. In a stripped
mono build, I was able to:

- Run "mcs --version" without trouble (original test case)
- Run "keepass" (mono app)
- Build packages that depend on mono (e.g. f# and others).

$ nix path-info -sh
Before: 537.8M
After:  304.3M

$ nix path-info -Sh
Before: 1.2G
After:  867.0M

(Transitive closure size decreases more than the package size itself
because mono ended up depending on gcc through leaked paths in .so files
before.)
2019-09-20 15:25:27 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk
98640fd482 Merge master into staging-next 2019-08-27 16:36:47 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jiri Danek
3916f79ce5 mono6: init at 6.0.0.313 2019-08-07 23:58:38 +02:00
Orivej Desh
ffc8ac2fad mono: 5.16.0.220 -> 5.20.1.27
I have checked a couple of times that building in parallel succeedes even with
nix-build --cores 9999, and once that the result can build all not broken
dependent projects.

Closes #58797.
2019-05-01 04:15:30 +00:00
Daniel Schaefer
bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Matthew Bauer
290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
obadz
013927f93c mono: llvm fork update 3.4svn-mono-f9b1a74368 -> 3.6-mono-2017-02-15
Also now builds with --enable-llvmloaded.

Extracted by @obadz from @abbradar's #23295
d27768ac1b
2018-12-23 21:37:06 +00:00
obadz
1be47a2c00 mono: renamed generic-cmake.nix -> generic.nix 2018-12-23 21:37:05 +00:00
obadz
57754ca28a mono: delete two unused files
deleted: generic.nix
deleted: pkgconfig-before-gac-5x.patch
2018-12-23 01:14:42 +00:00