1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
Commit graph

64 commits

Author SHA1 Message Date
Reno Dakota 52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Leona Maroni 4679d1d1df
sublime-merge: 2096 -> 2102 2024-10-28 11:08:04 +01:00
R. Ryantm d7cf2201b6 sublime-merge-dev: 2100 -> 2101 2024-10-01 22:39:48 +02: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
R. Ryantm 90af0e7407 sublime-merge-dev: 2099 -> 2100 2024-09-14 18:20:21 +00:00
R. Ryantm ba654492e5 sublime-merge-dev: 2095 -> 2099 2024-08-15 07:24:21 +00:00
Peder Bergebakken Sundt dfbc165dc7 treewide: remove nested let-in 2024-08-09 03:58:35 +02:00
zhoufanjin 99da330f23
treewide: fix some comments (#330407)
Signed-off-by: zhoufanjin <shuangcui@live.cn>
2024-07-27 22:05:18 +08:00
Jan Tojnar 0421c816ba treewide: Simplify use of update-source-version
- `--ignore-same-version` allows us to not call it twice.
- with that, we can also omit version, to allow us updating e.g. `cargoDeps` hash
2024-06-09 20:33:23 +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
Jan Tojnar 146fe35bbe sublime-merge: 2091 → 2096 2024-04-23 14:56:36 +02:00
R. Ryantm c936873398 sublime-merge-dev: 2094 → 2095 2024-04-23 14:56:36 +02:00
R. Ryantm 61d4ab72d5 sublime-merge-dev: 2092 -> 2094 2024-04-13 10:23:21 +00:00
Jan Tojnar eb7298e58b sublime4,sublime-merge: Use --replace-fail
Also split the substitute call for legibility.
2024-04-05 09:23:05 +02:00
Jan Tojnar e2d93cb47e sublime4,sublime-merge: format with nixpkgs-fmt 2024-04-05 09:23:05 +02:00
R. Ryantm 67a9619cb5 sublime-merge-dev: 2090 -> 2092 2023-11-16 19:08:52 +01:00
Jan Tojnar 713a0b8a42 sublime-merge: add aarch64 support 2023-09-21 20:03:22 +02:00
Jan Tojnar 1f617f349e sublime-merge-dev: 2085 → 2090 2023-09-21 20:03:22 +02:00
Jan Tojnar 0d34c0660e sublime-merge: 2083 → 2091 2023-09-21 20:03:22 +02:00
Jan Tojnar 3f06fac504 sublime-merge: sync with sublime4 2023-09-21 20:03:22 +02:00
R. Ryantm d29a127f81 sublime-merge-dev: 2082 -> 2085 2023-03-18 09:54:36 +00:00
Jan Tojnar 346c326b8a sublime-merge: 2079 → 2083 2023-02-08 14:15:29 +00:00
R. Ryantm ddf5ffa8cd sublime-merge-dev: 2081 -> 2082 2023-02-01 01:09:58 +00:00
R. Ryantm c6313c6a08 sublime-merge-dev: 2078 -> 2081 2023-01-07 16:03:06 +00:00
PedroHLC ☭ 50ab8ea460
sublime-merge: 2077 -> 2079 2022-11-14 11:50:39 -03:00
Jan Tojnar 444a64008a sublime-merge-dev: 2076 → 2078 2022-11-09 19:09:43 +01:00
Jan Tojnar 1cef395ff0 sublime-merge: 2074 → 2077 2022-09-16 18:40:33 +02:00
Jan Tojnar 2901fd1b0c sublime-merge: Avoid absolute exec paths in desktop file
When user installed a new version of SM (or just a different derivation),
GNOME Shell would lose the association of the windows with the icon.
Since the package needs to be installed in order for the desktop file
to be available, having the path absolute is useless any way.

Same change as the one for sublime4 in the parent commit.
2022-09-16 18:40:33 +02:00
Jan Tojnar 49bab5e44b sublime-merge-dev: 2073 → 2076
https://www.sublimemerge.com/dev
2022-08-29 21:28:19 +02:00
Jan Tojnar 424802ffc5 sublime-merge.updateScript: sync with sublime4
See the parent commits.
2022-08-29 21:28:19 +02:00
Robert Scott 466c2e342a treewide/applications: add sourceType binaryNativeCode for many packages 2022-06-23 18:38:19 +01:00
Jan Tojnar 47fa54a96c sublime-merge-dev: 2070 → 2073 2022-06-17 17:29:25 +02:00
Jan Tojnar 12c0242db8 sublime-merge: 2071 → 2074 2022-06-17 17:27:50 +02:00
Jan Tojnar e3104e95c5 sublime-merge-dev: 2067 → 2070
https://www.sublimemerge.com/dev#changelog
2022-05-07 18:59:06 +02:00
Jan Tojnar cd9591ccd9 sublime-merge: 2068 → 2071
https://www.sublimemerge.com/download#changelog
2022-05-07 18:59:06 +02:00
Zack A 7dd68d1168
sublime-merge: 2063 -> 2068, sublime-merge-dev: 2062 -> 2067 2021-12-22 12:46:48 +09:00
Marek Fajkus cec4971247
sublime*: use curl instead of curl.out in libPath 2021-12-13 17:33:42 +01:00
Tim Zook 545a0831fa
sublime-merge: update 2033 → 2063 and add libcurl to application library path (#146934) 2021-12-10 01:39:27 +01:00
Amanda Cameron eb7d94e6e3 sublime{4,-merge}: Update packages. 2021-10-31 16:09:08 -04:00
Felix Buehler 188af2bf8b sublime-merge: deprecate phases 2021-08-03 00:01:56 +02:00
Victor Luft b32f22110c sublime-merge: 2047 -> 2056 2021-05-26 21:34:01 -04:00
Victor Luft f45e3e9075 sublime-merge-dev: 2047 -> 2055 2021-05-26 21:33:50 -04:00
Victor Luft 298113eaf7 sublime-merge: 2039 -> 2047 2021-02-25 12:36:39 -05:00
Victor Luft 407a992fd6 sublime-merge-dev: 2037 -> 2046 2021-02-25 12:36:38 -05:00
Ben Siraphob badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07: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
Victor Luft 2caa1782b5 sublime-merge: 2032 -> 2039 2020-11-18 11:58:31 -05:00
Victor Luft a1a4585729 sublime-merge-dev: 2033 -> 2037 2020-11-09 09:52:15 -05:00
Jiehong Ma b89327579e sublime-merge: use 2033 as dev and 2032 as stable versions 2020-09-10 19:07:44 +02:00
Victor Luft 740b2f851f sublime-merge: 2020 -> 2033 2020-09-04 16:26:51 +02:00