Commit Graph

11 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
DataHearth
f7c4a6b613
spacedrive: 0.3.1 -> 0.4.2 2024-09-09 12:28:44 +02:00
heisfer
a5cf4d944f spacedrive: 0.2.14 -> 0.3.1 2024-06-18 02:31:17 +03: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
Martino Fontana
6e465f4550 treewide: fix use of extraPkgs in AppImages
Mostly removes unnecessary use of `extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs;`
This caused some packages to be listed twice.

Also, fix some styling, and accidental use of top-level packages (sometimes due to the `with;` keyword, e.g. on `beeper`).
Remove inclusions of `bash`, since `bashInteractive` is already present by default.
2024-05-13 20:35:07 +02:00
DataHearth
eab985639b
spacedrive: 0.2.13 -> 0.2.14 2024-05-05 00:21:04 +02:00
R. Ryantm
c2346ac77f
spacedrive: 0.2.4 -> 0.2.13 2024-04-29 13:57:00 +09: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
DataHearth
94908e262b
spacedrive: 0.1.4 -> 0.2.4
New releases of Spacedrive were available since the last update of the
Nix package. Update to latest version.
2024-02-17 19:10:56 +01:00
Yifei Sun
29cf4af1d5
spacedrive: add darwin
Co-authored-by: Mikael Fangel <34864484+MikaelFangel@users.noreply.github.com>
2023-12-18 16:03:17 -05:00
Mikael Fangel
d30dca1cd8
spacedrive: init at 0.1.4
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
2023-11-30 21:20:07 +01:00