Commit Graph

111 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
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
obadz
26e8258c41 mono5: 5.14.0.177 -> 5.16.0.220 2018-12-23 00:04:47 +00:00
obadz
55af73e156 mono: only maintain major versions (mono4 & mono5) 2018-12-23 00:04:46 +00:00
Jörg Thalheim
da85e7d05d
Merge pull request #49369 from Mic92/mono-cleanup3
mono46: mark as insecure (CVE-2018-1002208)
2018-10-29 10:27:22 +00:00
Jörg Thalheim
8dba09c181
Merge branch 'master' into mono-cleanup 2018-10-28 22:59:18 +00:00
Jörg Thalheim
99edb7accb
mono46: add CVE-2018-1002208 2018-10-28 21:35:38 +00:00
Jörg Thalheim
80d4263526
mono44: remove insecure version
This version is also affected by CVE-2018-1002208.
It has no user in nixpkgs.
2018-10-28 21:30:39 +00:00
Jörg Thalheim
12c9a36dad
mono40: remove 2018-10-28 21:10:14 +00:00
adisbladis
80dd2faa5b mono: Unbreak on aarch64 (#49164) 2018-10-26 18:38:34 +02:00
Uli Baum
bd9bca4c01 mono5: mark 5.x broken on aarch64
5.x has been broken on hydra since 2017-07-06
2018-08-21 20:41:30 +02:00
Michael Raskin
c92766fec8 mono514: init at 5.14.0.177 2018-08-18 17:01:02 +03:00
Lluís Batlle i Rossell
66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Matthew Bauer
6e0a68b1e6 mono: add knownVulnerabilities for 4.0.4
http://www.mono-project.com/docs/about-mono/vulnerabilities/#string-to-double-parser-bug
2018-04-22 15:46:51 -05:00
Matthew Bauer
b577f3292e mono: allow custom meta in generic 2018-04-22 15:46:12 -05:00