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"
```
Joplin broke after the update to python 3.12 because of missing
distutils. This change adds setuptools which replaces it and makes the
package build successfully.
* nodePackages.vue-cli: drop
The Vue CLI is now deprecated, and create-vue(not package in nix) should
be used to scaffold Vue projects. The last commit to the upstream repo
for this tool was 2 years ago, and so it's no longer maintained and
should be safe to drop.
* Update pkgs/development/node-packages/aliases.nix
---------
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
I have removed the no-longer-necessary `echo y` in
the script, along with the TODO.
The other change is to `jq` command patching
`package.json`: it appears the content has changed
so I modify the script accordingly to keep
patching the correct value with the new format.
I have verified that it works locally, though it
is just as broken as what's in current master
until there's a fix for
https://github.com/NixOS/nixpkgs/issues/326264 .