Commit Graph

67 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
Austin Horstman
ea8c4f36a0
mysql-workbench: fix build 2024-07-30 11:55:31 -05:00
TomaSajt
456ab7dd69 mysql-workbench: 8.0.36 -> 8.0.38 2024-07-11 08:38:45 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
TomaSajt
675e083b69
mysql-workbench: fix build 2024-03-07 17:22:48 +01:00
R. Ryantm
a64fba242e mysql-workbench: 8.0.34 -> 8.0.36 2024-01-24 12:21:16 +00:00
TomaSajt
1f3bcdf276
mysql-workbench: fix build, small refactor 2024-01-16 00:58:48 +01:00
Austin Horstman
f61284a19f
treewide: add meta.mainProgram to misc 2023-08-04 14:10:05 -05:00
R. Ryantm
40b2830c49 mysql-workbench: 8.0.33 -> 8.0.34 2023-07-28 23:58:01 +00:00
Maxim Ianoglo
3c2a276f55 mysql-workbench: 8.0.32 -> 8.0.33
* Bump antlr dependency version: 4.11.x -> 4.12.0
  * Bump Java dependency version: jre8 -> openjdk19
  * Remove gdal patch as it is not needed anymore
2023-04-29 00:08:22 +03:00
Maxim Ianoglo
b57c3b765e mysql-workbench: 8.0.30 -> 8.0.32 2023-02-23 21:52:19 +02:00
Maxim Ianoglo
7b35b6a996 mysql-workbench: Syntax error in GCC flag 2023-02-23 21:43:08 +02:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Vladimír Čunát
cfc056287c
treewide: another round of gcc12 fixups 2023-02-05 18:34:47 +01:00
Weijia Wang
43f2ae7d87 mysql-workbench: fix build on aarch64-linux 2023-02-01 23:01:41 +01:00
Thiago Kenji Okada
db3f2b35d3
Merge pull request #191174 from dotNox/mysql-workbench
mysql-workbench: 8.0.21 -> 8.0.30
2022-11-04 22:53:28 +00:00
Yorick van Pelt
0edf1ffc3f
mysql-workbench: switch from mysql57 to mysql80 2022-10-12 11:02:14 +02:00
Maxim Ianoglo
06b428276f mysql-workbench: 8.0.21 -> 8.0.30 2022-09-14 13:33:10 +03:00
ajs124
0c35b851e4 maintainers: remove kkallio
no github account linked
2022-06-29 00:55:00 +02:00
Kerstin Humm
bb799694db
epoxy: rename to libepoxy
https://github.com/NixOS/nixpkgs/issues/145040
2021-11-11 05:55:32 +01:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Guillaume Bouchard
2de3de4631 antlr: 4.7 -> 4.8 2020-11-04 15:26:29 -08:00
R. RyanTM
a7f5a00411 mysql-workbench: 8.0.20 -> 8.0.21 2020-08-15 15:47:48 +02:00
R. RyanTM
02acd0b22e mysql-workbench: 8.0.19 -> 8.0.20 2020-05-09 08:51:58 +02:00
Jan Tojnar
070b49ed00
mysql-workbench: 8.0.15 → 8.0.19
* https://dev.mysql.com/doc/relnotes/workbench/en/news-8-0-16.html
* https://dev.mysql.com/doc/relnotes/workbench/en/news-8-0-17.html
* https://dev.mysql.com/doc/relnotes/workbench/en/news-8-0-18.html
* https://dev.mysql.com/doc/relnotes/workbench/en/news-8-0-19.html

The release notes contain the following:

Important Note: MySQL Workbench 8.0.19 is unable to open a new connection to MySQL Server from the home screen if the server is not started and you cannot start a server by using the Workbench Administration feature. Administrative and SQL editing tasks require an online server for the duration of this issue. Feature tasks that you performed with an offline server in previous releases now return an error message indicating that the server is unreachable.

but it is clearly better than having it broken.
2020-03-12 06:42:31 +01:00
Jan Tojnar
eacf018ea7
mysql-workbench: format with nixpkgs-fmt 2020-03-12 01:40:55 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Jonathan Ringer
cca1670bcd mysqlWorkbench: support antlr4.7.2 2019-09-29 03:14:22 -07:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Jan Tojnar
9b6789de73
tree-wide: replace wrapProgram with wrapGApp
where appropriate
2019-09-10 17:54:57 +02: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
R. RyanTM
dc717bd155 mysql-workbench: 8.0.14 -> 8.0.15 (#57328)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mysql-workbench/versions
2019-04-09 20:42:27 +02:00
R. RyanTM
69b22cb67a mysql-workbench: 8.0.13 -> 8.0.14
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mysql-workbench/versions
2019-02-03 08:55:57 +00:00
R. RyanTM
e118a0fa1f mysql-workbench: 8.0.12 -> 8.0.13
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mysql-workbench/versions
2018-10-27 03:33:23 -07:00
Jan Tojnar
807f582d63
mysql-workbench: 6.3.8 → 8.0.12 2018-08-09 17:36:51 +02:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Lancelot SIX
d9ae1b408a
mysql-workbench: fix build with gcc6 2017-08-31 10:07:18 +02:00
Robin Gloster
fa79441055
mysql-workbench: 6.3.7 -> 6.3.8
fixes #21226
2017-01-19 16:41:31 +01:00
Karn Kallio
07154a77e7 mysqlworkbench : fix build and update to latest version 6.3.7 2016-09-19 09:58:37 +02:00
Frederik Rietdijk
e4b47de694 Remove top-level pycrypto
See #11567.
2016-08-14 14:28:26 +02:00
Vladimír Čunát
716aac2519 Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
Robin Gloster
53b389327e refactor to use autoreconfHook where possible
Close #12446.
2016-01-18 10:45:31 +01:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Pascal Wittmann
8ac4521fee mysql-workbench: fix references to /bin/bash and sudo
Closes #5226
2015-05-28 18:41:22 +02:00
Vladimír Čunát
3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00