Commit Graph

30 Commits

Author SHA1 Message Date
TomaSajt
796ce16ffc treewide: fix search location of crates inside cargoDepsCopy
This is needed because the previous commit moved crates one
layer deeper in the vendor directory of rust packages when using
fetchCargoVendor
2026-02-20 09:17:19 +01:00
sdaqo
36e56e018b devpod-desktop: fix build 2025-11-20 06:52:41 +01:00
Maxime Brunet
f6586f3476 devpod: Remove maxbrunet as maintainer 2025-10-18 13:20:59 -03:00
TomaSajt
398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
TomaSajt
7f02d05e0a devpod{,-desktop}: 0.5.20 -> 0.6.15 2025-04-20 12:53:36 +02:00
TomaSajt
110c476bb8 devpod-desktop: refactor
- combine the frontent derivation into the main derivation
- use cargo-tauri.hook
- patch out sidecar file logic
- patch out schema registering logic
- add glib-networking for image loading
- add darwin support
- add myself as a maintainer
2025-04-20 12:52:09 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
TomaSajt
adebc02a4f devpod-desktop: use fetchCargoVendor 2025-03-08 12:25:35 +01:00
Yueh-Shun Li
905dc8d978 treewide: specify CGO_ENABLED with env.CGO_ENABLED
Programmatically prefixing "CGO_ENABLED =" and "CGO_ENABLED=0;" with
"env.", but excluding the files
* pkgs/build-support/go/module.nix (buildGoModule implementation)
* pkgs/development/compilers/go/* (the Go compiler)
* pkgs/build-support/docker/tarsum.nix (not using buildGoModule)
2024-12-18 23:19:56 +08:00
Jan Tojnar
064ee2cb49 libsoup_2_4: Rename from libsoup
The 2.4 ABI branch has not been supported by upstream for a while now but people still keep accidentally adding it to new packages.
2024-12-08 00:37:52 +01:00
Fabián Heredia Montiel
ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06: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
Nick Cao
80c8ffb38e devpod-desktop: fix fetchYarnDeps hash and lock files 2024-09-17 16:14:55 -04:00
R. Ryantm
07b4ece5c8 devpod: 0.5.19 -> 0.5.20 2024-09-15 14:08:46 +00:00
Alyssa Ross
f48ddf4ba9 treewide: remove uses of deprecated Rust functions
speakersafetyd was using the wrong one, so I've fixed it while I was
here.
2024-09-02 21:48:21 +02:00
R. Ryantm
7387f57b52 devpod: 0.5.16 -> 0.5.19 2024-08-09 00:40:26 +00:00
R. Ryantm
8659e6c1e8 devpod: 0.5.15 -> 0.5.16 2024-07-05 10:04:57 +00:00
R. Ryantm
8d0312a07e devpod: 0.5.12 -> 0.5.15 2024-06-14 19:17:27 +00:00
R. Ryantm
6851e98ae8 devpod: 0.5.8 -> 0.5.12 2024-05-31 05:06:26 +00:00
R. Ryantm
9d2533a66c devpod: 0.5.7 -> 0.5.8 2024-05-25 16:52:22 +00:00
R. Ryantm
f3f8d8d213 devpod: 0.5.4 -> 0.5.7 2024-05-19 19:57:03 +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
R. Ryantm
9cae782090 devpod: 0.5.2 -> 0.5.4 2024-02-27 12:22:34 +00:00
Maxime Brunet
17495e7af7 devpod: 0.4.2 -> 0.5.2 2024-02-17 12:59:51 -08:00
Sergei Trofimovich
39adbc5456 devpod: fix tests eval
Without the change `tests` eval failed as:

    $ nix build --no-link -f. devpod.tests
    error:
       error: value is a string while a set was expected

The failure reason is in `package` parameter. It should be a derivation,
not a package name. While at it fixed the command to extract version.
2023-12-29 19:39:56 +00:00
R. Ryantm
8bbf29bc6b devpod: 0.4.1 -> 0.4.2 2023-11-15 12:18:19 +00:00
Maxime Brunet
4f2a79293f devpod: init at 0.4.1 2023-11-04 18:05:19 -07:00