Commit Graph

55 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
Fabian Affolter
9a34ae4f35
onthespot: add async-timeout (#343700) 2024-09-24 08:53:36 +02:00
Fabian Affolter
aba7ee13a4 onthespot: remove with.lib 2024-09-23 22:28:18 +02:00
Fabian Affolter
364a8c30fd onthespot: format with nixfmt 2024-09-22 12:55:09 +02:00
Fabian Affolter
6c1e1d053c onthespot: add async-timeout 2024-09-22 12:54:16 +02:00
Jonas Heinrich
965a11b6e1 onlyoffice-bin: 8.1.0 -> 8.1.1; rename to onlyoffice-desktopeditors 2024-09-20 08:50:57 +00:00
Peder Bergebakken Sundt
0a62085b7c
onedrivegui: 1.1.0rc3 -> 1.1.0 (#342544) 2024-09-18 01:33:03 +02:00
John Garcia
cf0de14f59 onedrive: 2.5.0-rc3 -> 2.5.0 2024-09-16 12:35:08 +01:00
John Garcia
a92693519f onedrivegui: 1.1.0rc3 -> 1.1.0 2024-09-16 11:58:56 +01:00
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
John Garcia
2ac6d58a7c onedrivegui: format with nixfmt 2024-09-04 18:17:37 +01:00
John Garcia
9a89dc1cff onedrivegui: 1.0.3 -> 1.1.0rc3 2024-09-04 18:17:10 +01:00
Anderson Torres
dadebd9140 onedrive: fixup version test
Since the test uses `grep --word-regexp --fixed-string`, we should use the full
version style.
2024-08-28 12:37:43 -03:00
Anderson Torres
07a1d0fb2f onedrive: 2.4.25 -> 2.5.0-rc3 2024-08-28 11:56:55 -03:00
Anderson Torres
8a5c948e77 onedrive: add AndersonTorres as maintainer 2024-08-28 11:56:55 -03:00
Anderson Torres
2842021bf9 onedrive: rework
- finalAttrs
- lib.enable* flags
- ghet rid of pname
- test version
- get rid of nested with
- nixfmt-rfc-style
2024-08-28 11:56:55 -03:00
Anderson Torres
9a04423c50 onedrive: remove srgom from meta.maintainers
srgom is inactive
2024-08-28 11:56:55 -03:00
Anderson Torres
3584894b48 onedrive: migrate to by-name 2024-08-28 11:56:55 -03:00
Sandro
09f6f0f3b7
Merge pull request #324301 from leon-erd/drop_onlyoffice_7.2.0 2024-07-26 21:37:52 +02:00
Leon
b3bef99d14 onlyoffice: drop 7.2.0 version 2024-07-03 14:58:57 +02:00
Weijia Wang
f5a7e092f3 Merge branch 'master' into staging-next 2024-07-02 22:22:02 +02:00
Leon
18fa2298bc onlyoffice-bin_latest: 8.0.0 -> 8.1.0 2024-06-27 11:12:16 +02:00
Martin Weinelt
f822b2ba5c Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/langsmith/default.nix
- pkgs/development/python-modules/rich-pixels/default.nix
- pkgs/servers/teleport/generic.nix
2024-06-18 20:16:19 +02:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
PassiveLemon
7813e1f32a onthespot: desktop file 2024-06-09 20:33:57 -04:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Weijia Wang
314e90532a
Merge pull request #317177 from PJungkamp/vpl-gpu-rt
onevpl-intel-gpu: Rename to vpl-gpu-rt
2024-06-08 22:52:49 +02:00
Philipp Jungkamp
d3a9121424 onevpl-intel-gpu: Rename to vpl-gpu-rt
Move the `package.nix` file from `pkgs/by-name/on/onevpl-intel-gpu` to
`pkgs/by-name/vp/vpl-gpu-rt`.  Add an `onevpl-intel-gpu` alias for backwards
compatability.

Intel has merged the `oneapi-src` GitHub organization into the `intel`
namespace. `oneVPL-intel-gpu` has been renamed to `vpl-gpu-rt` as part of
this move. The repo at https://github.com/oneapi-src/oneVPL-intel-gpu now
redirects to https://github.com/intel/vpl-gpu-rt.
2024-06-04 14:15:46 +02:00
Anderson Torres
5b8c9b5dec onscripter-en: remove abbradar
See https://github.com/NixOS/nixpkgs/issues/290642.
2024-06-04 08:19:11 -03:00
Anderson Torres
523f254211 onscripter-en: 20111009 -> 20110930
Not a real update, just a new source and a new maintainer
2024-06-04 08:19:10 -03:00
Anderson Torres
9d630a3eb3 onscripter-en: migrate to by-name 2024-06-04 08:19:10 -03:00
Ilya Epifanov
7321c7cb6f onagre: moved to pkgs/by-name 2024-05-13 12:00:58 +02:00
Aleksana
e3b013fe25
Merge pull request #309269 from massix/fix/onedriver-glib-networking
onedriver: add glib-networking to buildInputs
2024-05-12 01:16:34 +08:00
R. Ryantm
1a50a4adfc onevpl-intel-gpu: 23.4.3 -> 24.2.2 2024-05-08 07:59:20 +00:00
Massimo Gengarelli
4c97436473 onedriver: add glib-networking to buildInputs
This should fix nixos/nixpkgs#308666
2024-05-05 15:24:10 +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
Peder Bergebakken Sundt
985aa8174d treewide: unbreak appimageTools.wrapType2 builds
`appimageTools.wrapType2` no longer creates a binary `$out/bin/${name}` if `pname` and `version` is provided.
Derivations that have worked around this behavior with a `mv $out/bin/{${name},${pname}}` broke as a result.
This should fix most instances.

contex: #271071
2024-04-24 15:26:52 +02:00
github-actions[bot]
b4bf622e46
Merge master into staging-next 2024-03-31 12:01:07 +00:00
Jonas Heinrich
5cf1df862d onthespot: fix build issue 2024-03-28 14:41:16 +01:00
github-actions[bot]
66eeab8faf
Merge staging-next into staging 2024-03-19 06:01:43 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Atemu
cd48c48a87
Merge pull request #264621 from evanrichter/libvpl-for-intel-gpu
oneVPL for intel gpus
2024-03-14 03:59:11 +00:00
Evan Richter
3c91e92068 onevpl-intel-gpu: init at 23.4.3 2024-03-07 10:24:02 -07:00
Guillaume Girol
d89fdbfc98
Merge pull request #291642 from massix/fix/onedriver-systemd
onedriver: fix systemd service (closes #291608)
2024-03-04 20:40:54 +01:00
Cosima Neidahl
12012f534d
Merge pull request #287497 from dev-nis/master
Add NIS One-Click-Backup
2024-03-03 19:13:35 +01:00
Massimo Gengarelli
baf6a41e9f fixup! onedriver: fix systemd service (closes #291608) 2024-03-03 18:27:45 +01:00
Massimo Gengarelli
3e153863b5 onedriver: fix systemd service (closes #291608) 2024-02-26 20:15:39 +01:00
NIS
ee28c27e50 one-click-backup: init at 1.2.2.1
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-02-21 19:02:03 +01:00
fin444
9d551ab298
onlyoffice-bin, onlyoffice-bin_latest: move to pkgs/by-name 2024-02-05 16:38:53 -05:00
Sandro Jäckel
653837881e
treewide: replace lib/${python.libPrefix}/site-packages with its shorthand ${python.sitePackages}
which should be always preferred
2024-01-30 19:56:57 +01:00