Commit Graph

61 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
John Titor
a28f1df81f
zed-editor: rename zed binary to zeditor
At least three packages provide a "zed" binary including `zfs`, `spicedb-zed`, and `zed` binary which can lead to conflicts.

Renaming the `cli` binary to `zeditor` is even recommmeded in zed-editor official packaging instructions.

https://github.com/zed-industries/zed/blob/main/docs/src/development/linux.md#other-things-to-note
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2024-09-24 17:09:17 +05:30
John Titor
b2b5981284
zed-editor: change pname to zed-editor
There are like three different packages with zed
2024-09-24 15:47:23 +05:30
Bruno Bigras
72f230e1c3 zed-editor: 0.152.4 -> 0.153.6 2024-09-19 13:00:56 -04:00
Bruno Bigras
7bed2fedd8 zed-editor: 0.152.3 -> 0.152.4 2024-09-16 20:50:30 -04: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
Bruno Bigras
6c18083a43 zed-editor: 0.151.2 -> 0.152.3 2024-09-10 15:54:47 -04:00
Bruno Bigras
50a288414b zed-editor: 0.151.1 -> 0.151.2 2024-09-06 12:32:32 -04:00
Niklas Korz
992bcdbeca zed-editor: add fhs passthru 2024-09-05 18:45:01 +02:00
Niklas Korz
afce61251d zed-editor: fix --version 2024-09-05 12:32:01 +02:00
Niklas Korz
b82be0d48c zed-editor: fix license menu
Without the generated licenses file, Zed crashes when triggering the "View Dependency licenses" menu button.
2024-09-05 12:32:01 +02:00
Bruno Bigras
131bd1aba1 zed-editor: 0.150.4 -> 0.151.1 2024-09-04 11:34:09 -04:00
OTABI Tomoya
307fb7dd48
zenn-cli: init at 0.1.155 (#338580) 2024-09-02 10:17:34 +09:00
Patka
18af402eeb
zed-editor: update default fonts
upstream moved to using flex-mono and plex-sans instead of maintaining their own custom fonts. For more info see: https://github.com/zed-industries/zed/pull/13596
2024-09-01 12:20:33 +02:00
natsukium
2f1397679a
zenn-cli: init at 0.1.155 2024-08-31 18:04:10 +09:00
Bruno Bigras
29114fd658 zed-editor: 0.149.6 -> 0.150.4 2024-08-28 13:02:38 -04:00
Gaetan Lepage
4a791bd5d4 zed-editor: 0.149.5 -> 0.149.6
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.149.5...0.149.6

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.149.6
2024-08-27 15:02:01 +02:00
Gaetan Lepage
c6996e869b zed-editor: 0.149.3 -> 0.149.5
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.149.3...0.149.5

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.149.5
2024-08-22 23:19:48 +02:00
Gaétan Lepage
8294a46c6c
Merge pull request #336135 from bbigras/push-qwqxkxsymmsl
zed-editor: 0.148.1 -> 0.149.3
2024-08-21 07:45:20 +02:00
Bruno Bigras
40024302ff zed-editor: 0.148.1 -> 0.149.3 2024-08-20 15:02:11 -04:00
Gaetan Lepage
8fb69d99c0 zed-editor: disable auto-updates 2024-08-20 16:13:19 +02:00
Florian Klink
815d5589d9
zerotierone: fix build with Rust 1.80 (#335676)
Manually bump the `time` crate in the `Cargo.lock` file, and the
`time-macros` dependency that needs to be bumped as well.

This fixes the build for zerotierone without having to wait for
https://github.com/NixOS/nixpkgs/pull/300532 and the staging cycle it
needs to go through.

Alternative to https://github.com/NixOS/nixpkgs/pull/335051, which
depends on above functionality.

See https://github.com/NixOS/nixpkgs/issues/332957 for context.
2024-08-19 09:38:56 +02:00
Bruno Bigras
7fbe785f8a zed-editor: 0.148.0 -> 0.148.1 2024-08-15 11:06:28 -04:00
Bruno Bigras
a9228c106d zed-editor: 0.147.2 -> 0.148.0 2024-08-14 13:42:56 -04:00
Gaetan Lepage
d15083e985 zed-editor: 0.146.5 -> 0.147.2
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.146.5...0.147.2

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.147.2
2024-08-08 10:15:22 +02:00
Gaetan Lepage
89604b3f63 zed-editor: 0.146.4 -> 0.146.5
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.146.4...0.146.5

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.146.5
2024-08-03 11:07:37 +02:00
Gaetan Lepage
6ae6635e54 zed-editor: 0.146.3 -> 0.146.4
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.146.3...0.146.4

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.146.4
2024-08-01 22:13:09 +02:00
Gaetan Lepage
2e316462ff zed-editor: 0.145.1 -> 0.146.3
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.145.1...0.146.3

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.146.3
2024-08-01 07:40:44 +02:00
zimbatm
840dc890e9 zerotierone: move to by-name 2024-07-31 09:10:32 +02:00
Gaetan Lepage
a63b8c758c zed-editor: 0.144.4 -> 0.145.1
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.144.4...0.145.1

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.145.1
2024-07-28 14:05:10 +02:00
Martin Weinelt
93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
Dennis Stengele
6f3ba8d714
nixos/zeronsd: init module and package (#253610)
* zeronsd: init at 0.5.2

* nixos/zeronsd: init at 0.5.2

This is the module for the new zeronsd package.
2024-07-26 15:20:56 +02:00
Gaetan Lepage
fdef90a430
zed-editor: 0.141.3 -> 0.144.4
Diff:
https://github.com/zed-industries/zed/compare/refs/tags/v0.141.3...0.144.4

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.144.4
2024-07-22 20:25:25 +05:30
Sergei Trofimovich
cce8e5df89
zenity: 4.0.1 → 4.0.2
https://gitlab.gnome.org/GNOME/zenity/-/compare/4.0.1...4.0.2
2024-07-13 20:31:56 +08:00
Jan Solanti
98b40eb5dc zed-editor: fix .desktop file 2024-07-05 18:52:11 +03:00
Liam Murphy
731f1c7f86
zed-editor: make $out/bin/zed the CLI, not the main binary
The CLI allows opening new files/folders while the app is still running, as well
as starting the app in the background without taking up your terminal.

This matches the official bundle-linux script: https://github.com/zed-industries/zed/blob/main/script/bundle-linux

Before:

```sh
$ zed flake.nix
zed is already running
```

After:

```sh
$ zed flake.nix
$ # works!
```

I'm not sure what the current status of this package's Darwin support is; the
new code I added should probably be Linux-only, but so should the .desktop file
generation which is currently run unconditionally, so I left it as running
unconditionally for now.
2024-07-04 15:13:43 +10:00
Jan Tojnar
b69ed4249d zenity: Move from gnome scope to top-level
It is widely used outside gnome, not much inside.
2024-07-01 08:26:47 +02:00
Gaetan Lepage
36cc58bdb4 zed-editor: 0.141.2 -> 0.141.3
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.141.2...0.141.3

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.141.3
2024-06-28 16:53:25 +02:00
Gaetan Lepage
f5be5c2324 zed-editor: 0.137.6 -> 0.141.2
Diff:
https://github.com/zed-industries/zed/compare/refs/tags/v0.137.6...0.141.2

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.141.2

Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2024-06-27 13:45:07 +02:00
Lukas Lihotzki
418f08ff12 zed-editor: add withGLES flag 2024-06-21 15:38:36 +02:00
Gaetan Lepage
c5d4d45811 zed-editor: 0.137.5 -> 0.137.6
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.137.5...0.137.6

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.137.6
2024-05-31 23:27:28 +02:00
Gaetan Lepage
64ac180251 zed-editor: 0.137.2 -> 0.137.5
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.137.2...0.137.5

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.137.5
2024-05-30 21:34:00 +02:00
Gaetan Lepage
9e0171f79b zed-editor: 0.136.2 -> 0.137.2
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.136.2...0.137.2

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.137.2
2024-05-29 23:50:35 +02:00
Gaetan Lepage
5e8eb42575 zed-editor: 0.135.2 -> 0.136.2
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.135.2...0.136.2

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.136.2
2024-05-25 15:56:13 +02:00
Sigmanificient
cc8120d3ff pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
Gaetan Lepage
15abab9da3 zed-editor: 0.134.4 -> 0.135.2
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.134.4...0.135.2

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.135.2
2024-05-15 21:52:23 +02:00
Gaetan Lepage
e78520ec6b zed-editor: 0.133.7 -> 0.134.4
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.133.7...0.134.4

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.134.4
2024-05-10 16:39:40 +02:00
Gaetan Lepage
759c453900 zed-editor: 0.133.5 -> 0.133.7
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.133.5...0.133.7

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.133.7
2024-05-03 23:38:56 +02:00
Gaetan Lepage
7c8441a712 zed-editor: 0.132.4 -> 0.133.5
Diff:
https://github.com/zed-industries/zed/compare/refs/tags/v0.132.4...0.133.5

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.133.5
2024-05-01 19:26:18 +02:00
Gaetan Lepage
226cc40018 zed-editor: 0.132.3 -> 0.132.4
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.132.3...0.132.4

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.132.4
2024-04-29 18:41:40 +02:00