Commit Graph

87965 Commits

Author SHA1 Message Date
Adam Joseph
0174928b12
Merge pull request #243607 from amjoseph-nixpkgs/pr/gcc/toplevel
gcc: deduplicate top-level expressions
2023-07-28 20:30:29 +00:00
Robert Schütz
857df777e0
Merge pull request #245562 from PedroHLC/fx_cast_bridge/buildNpmPackage
fx_cast_bridge: adopt buildNpmPackage; rename to fx-cast-bridge
2023-07-28 12:27:07 -07:00
Adam Joseph
c2d1d8b751 gcc: deduplicate top-level expressions
This commit deduplicates the copy-pasted gcc mess in
pkgs/top-level/all-packages.txt, replacing it with a single
expression that branches based on the chosen version.

This refactoring has exposed several bizzare behaviors in our
historical gcc expressions.  These are almost certainly a result of
people reaching back and making a change only to the version they
care about, and neglecting adjacent versions.  These oddities went
un-noticed because in copy-paste-duplicated form it is nearly
impossible to notice what has happened.

When refactored into branch-on-version form, the irregularities jump
out at you:

1. The ISL version we are using jumps *backward* from 0.14 on gcc48
   to 0.11 on gcc49, then forward again at gcc6.  If gcc49 cannot
   use isl 0.14 why is gcc48 able to?  I doubt this is right, but if
   it is there should be an explanatory comment, and I found none.

2. gcc6 bumps to isl 0.17 only if compiling for RedoxOS. This
   probably means that gcc6 is able to use isl 0.17 everywhere. If
   not, there should have been a comment explaining why RedoxOS is
   special here.

3. gcc49 on Darwin uses gccStdenv because "build fails on Darwin
   with clang"; surely if that is the case then that is true for
   gcc48 as well, no?

4. gcc49 overrides cloog to v0.18.0, but gcc48 doesn't.  Again, very
   weird, probably somebody meant to override gcc 4.9 *and all older
   versions*, not just that one particular version.

5. when cross-compiling, gcc6,7,8 override stdenv to gcc7Stdenv
   because "gcc 10 is too strict to cross compile gcc <= 8" yet this
   override was not applied to any other versions of gcc which are
   "<= 8".  It's also odd that gcc7Stdenv is used rather than
   gcc8Stdenv.

The best part about switch-on-version form is that oversights like
the above *make the code more verbose* so they stand out.  Fixing
these likely-bugs will make the code simpler and shorter.  In
copy-paste-duplicated style the opposite is true: you get shorter
code by *forgetting* to apply changes to all the versions that need
the change!  That's a very perverse incentive.

This PR does not attempt to change or fix any of these behaviors.  I
have confirmed that it does not affect eval (same drv-hash) for all
gcc versions on both x86_64-linux and x86_64-darwin.
2023-07-28 12:24:11 -07:00
Ryan Lahfa
3ac8c61e9d
Merge pull request #244883 from LibreCybernetics/linux_6_3_eol 2023-07-28 18:40:03 +02:00
natsukium
96850c1aaf hnswlib: init at 0.7.0 2023-07-28 15:55:38 +00:00
Pol Dellaiera
4d1b4229d7
Merge pull request #238760 from emilytrau/ibmcloud-cli
ibmcloud-cli: init at 2.17.0
2023-07-28 16:40:31 +02:00
Guilherme Ramos Costa Paixao
0fa6394cbb telegram-cli: remove 2023-07-28 10:51:54 -03:00
Austin Horstman
6c05a4c70c wttrbar: init at 0.3.2 2023-07-28 08:18:47 -03:00
Tillerino
bfbd4a3fa6 dhall-yaml: add package 2023-07-28 11:05:57 +01:00
Pol Dellaiera
3914805d5e
Merge pull request #245476 from ryanccn/catppuccin-catwalk-init
catppuccin-catwalk: init at 0.4.0
2023-07-28 11:12:38 +02:00
Nick Cao
69d609afdf
Merge pull request #245421 from exploitoverload/master
psudohash: init at unstable-2023-05-15
2023-07-28 03:11:28 -06:00
Pol Dellaiera
9842beff20
Merge pull request #245632 from DrSensor/pkgs/knit
knit: init at 1.1.1
2023-07-28 10:57:22 +02:00
exploitoverload
db33789956 psudohash: init at unstable-2023-05-15 2023-07-28 10:20:21 +02:00
happysalada
242c4025ed python310Packages.unstructured-api-tools: init at 0.10.10 2023-07-28 00:31:46 +00:00
happysalada
6955151120 python310Packages.onnxmltools: init at 1.11.2 2023-07-28 00:30:22 +00:00
Fahmi Akbar Wildana
99782d462f knit: init at 1.1.1 2023-07-28 05:50:09 +07:00
Matthias Thym
59eb55b5d6
Merge branch 'master' into init/pythonPackages.mkdocs-git-authors-plugin 2023-07-27 22:09:14 +02:00
Thiago Kenji Okada
a6096c235c
Merge pull request #245571 from Misterio77/qt6gtk2
qt6Packages.qt6gtk2: init at 0.2
2023-07-27 19:13:29 +00:00
Gabriel Fontes
415cd9298d
qt6Packages.qt6gtk2: init at 0.2 2023-07-27 15:39:28 -03:00
0x4A6F
f2facaf95d
Merge pull request #245655 from nvmd/sk/fix/czkawka
czkawka: fix build and check on darwin
2023-07-27 20:12:08 +02:00
Franz Pletz
e8d63b1a46
Merge pull request #245452 from reckenrode/mpv-fixes 2023-07-27 15:32:11 +02:00
Pol Dellaiera
478c0fd0a4
Merge pull request #244487 from srid/nixci
nixci: init at 0.1.3
2023-07-27 14:38:18 +02:00
Jennifer Graul
ab5229ec4d
python3Packages.fontawesomefree: init at 6.4.0 2023-07-27 12:33:18 +02:00
Fabian Affolter
fd3aa60aa5
Merge pull request #245341 from fabaff/aiohomekit-bump
python311Packages.aiohomekit: 2.6.10 -> 2.6.11
2023-07-27 11:29:57 +02:00
Ilan Joselevich
3a129639fd
Merge pull request #243768 from sund3RRR/tijolo-init
tijolo: init at 0.7.3
2023-07-27 12:27:31 +03:00
happysalada
a2c1f741b8 python310Packages.bentoml: init at 1.1.0 2023-07-27 08:20:42 +00:00
Ryan Cao
1a5e7012a0
catppuccin-catwalk: init at 0.4.0 2023-07-27 13:54:09 +08:00
Sergey Kazenyuk
3f42dcce7d czkawka: fix build and check on darwin 2023-07-27 07:00:06 +03:00
Jacob Moody
c56fec9f9f hheretic: init at 0.2.3 2023-07-27 00:16:48 -03:00
figsoda
e24037ed4a
Merge pull request #245387 from figsoda/unused 2023-07-26 23:15:17 -04:00
rewine
8974e68bef wayfire: refactor
1
2023-07-27 00:04:03 -03:00
rewine
246e73daad wayfire-plugins-extra: init at 0.7.5 2023-07-27 00:04:03 -03:00
Sandro
5ab574142e
Merge pull request #244909 from sikmir/aiogram
python3Packages.aiogram: init at 2.25.1
2023-07-27 00:32:37 +02:00
Eric Bailey
8c068dfddb helmfile-wrapped: init
nixos/doc/manual: add release notes for helmfile-wrapped
2023-07-26 16:59:16 -05:00
Samuel Ainsworth
931999d13b
Merge pull request #235024 from deshaw/upstream-dcgm
Add NVIDIA DCGM and DCGM-exporter (prometheus)
2023-07-26 14:48:38 -07:00
Elliot Cameron
b25101f159 prometheus-dcgm-exporter: init at 3.1.8-3.1.5 2023-07-26 16:11:54 -04:00
Elliot Cameron
1cdc3752a5 dcgm: init at 3.1.8 2023-07-26 16:11:54 -04:00
Elliot Cameron
85888a1298 tclap: add 1.4 variant 2023-07-26 16:11:54 -04:00
Martin Weinelt
dac75c2cad
Merge pull request #245467 from natsukium/zope-broken/remove
python310Packages.zope_broken: remove
2023-07-26 21:11:14 +02:00
Pol Dellaiera
c8ef7eb40f
Merge pull request #245073 from 70m6/feature/localproxy
localproxy: init at 3.1.0
2023-07-26 19:49:43 +02:00
PedroHLC ☭
1a357a921e
fx-cast-bridge: adopt buildNpmPackage 2023-07-26 14:22:34 -03:00
PedroHLC ☭
ad5505f0b2
fx_cast_bridge: rename to fx-cast-bridge 2023-07-26 14:15:58 -03:00
Janik
6540f039d4
Merge pull request #244304 from yrd/banana-cursor 2023-07-26 19:01:40 +02:00
Pol Dellaiera
7e6912f7f8
Merge pull request #222982 from arti5an/mount-zip
mount-zip: init at 1.0.8
2023-07-26 18:14:26 +02:00
tom barrett
dc14a2a512 localproxy: init at 3.1.0 2023-07-26 17:44:25 +02:00
Richard Smith
754fd32de4 mount-zip: init at 1.0.8 2023-07-26 15:27:46 +00:00
Gustavo Coutinho de Souza
c66a3bd157 a4term: init at 0.2.2 2023-07-26 08:01:24 -03:00
Pol Dellaiera
3ea8f62a71
Merge pull request #238378 from Lurkki14/lurkki/omorfi
omorfi: init at 0.9.9
2023-07-26 12:14:59 +02:00
Doron Behar
debb8d7b80
Merge pull request #198261 from DGollings/sqlboiler-crdb
sqlboiler-crbd: init at unstable-2022-06-12
2023-07-26 10:01:35 +00:00
Pol Dellaiera
7a1ec97a5a
Merge pull request #238658 from t4ccer/t4/measureme
measureme: init at 10.1.1
2023-07-26 10:48:02 +02:00