Commit Graph

17 Commits

Author SHA1 Message Date
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