Commit Graph

21 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
Elian Doran
f3cb8b378d
trilium-{server,desktop}: 0.63.5 -> 0.63.6 2024-05-18 10:09:41 +03: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
Elian Doran
c26fd1525f
trilium-{desktop,server}: 0.63.3 -> 0.63.5 2024-03-31 11:37:35 +03:00
Elian Doran
3a5eca741a trilium-{desktop,server}: 0.62.5 -> 0.63.3
Co-Authored-By: FliegendeWurst <2012gdwu+github@posteo.de>
2024-03-06 13:01:43 +01:00
Tracteur Blindé
020ee713e5 trilium-{desktop,server}: 0.62.3 -> 0.62.5 2024-01-12 19:22:40 -08:00
Elian Doran
834d7b7648 trilium-{desktop,server}: 0.62.2 -> 0.62.3 2023-11-30 14:23:09 +02:00
Joshua Bailey
e66e8c0302 trilium-desktop: 0.61.14 -> 0.62.2 2023-11-24 09:44:07 -05:00
Elian Doran
0f35107810 trilium-{desktop,server}: 0.60.4 -> 0.61.14 2023-11-16 22:08:54 +02:00
Sandro Jäckel
cf1ff8be6b
trilium: remove atomEnv 2023-10-03 16:37:23 +02:00
John Chadwick
166c2151ec trilium-desktop: fix missing metadata on Linux 2023-09-16 17:52:35 -04:00
Nikolay Korotkiy
f465da1662
Merge pull request #234375 from eliandoran/feature/trilium_wmclass
trilium-desktop: add startupWMClass to desktop icon
2023-07-22 15:43:39 +04:00
R. Ryantm
a7d4f895ff trilium-desktop: 0.60.3 -> 0.60.4 2023-07-02 17:46:49 +00:00
Elian Doran
a6cad64413 trilium-desktop: 0.59.4 -> 0.60.3 2023-06-16 18:51:38 +03:00
Elian Doran
83bad4c631 trilium-desktop: add startupWMClass to desktop icon 2023-05-27 10:23:01 +03:00
R. Ryantm
ed4ed0c0e1 trilium-desktop: 0.59.2 -> 0.59.4 2023-04-20 17:34:36 +00:00
Elian Doran
21b774ea0f trilium-{desktop,server}: 0.59.1 -> 0.59.2 2023-03-15 19:56:07 +02:00
Elian Doran
aa66a84dc6 trilium-{desktop,server}: 0.58.8 -> 0.59.1 2023-03-01 22:12:22 +02:00
Elian Doran
9aa9c5e792 trilium-{desktop,server}: 0.58.7 -> 0.58.8 2023-02-16 22:44:44 +02:00
Elian Doran
739b153f97 trilium-desktop: add darwin64 2023-01-25 21:27:34 +02:00
Elian Doran
5760604c9d trilium-desktop: split desktop & server into two files 2023-01-25 21:27:34 +02:00