Commit Graph

20 Commits

Author SHA1 Message Date
aleksana
b74fdd2386 treewide: remove redundant patches and locks
These files are no longer referenced.
2024-11-08 12:54:15 +08: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
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01: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
Alyssa Ross
b08a915532 treewide: drop workarounds for cargo --frozen
Since 4816a73bb5 ("rustPlatform: --frozen -> --offline"), these are
no longer necessary!
2024-05-19 11:15:55 +02:00
Mario Rodas
4d5a99b3df tiny: 0.11.0 -> 0.12.0
Diff: https://github.com/osa1/tiny/compare/v0.11.0...v0.12.0

Changelog: https://github.com/osa1/tiny/blob/v0.12.0/CHANGELOG.md
2024-01-02 04:20:00 +00:00
Mario Rodas
523ef8787c tiny: 0.10.0 -> 0.11.0
Diff: https://github.com/osa1/tiny/compare/v0.10.0...v0.11.0

Changelog: https://github.com/osa1/tiny/raw/v0.11.0/CHANGELOG.md
2023-07-16 04:20:00 +00:00
Adam Joseph
64cb3a021b tiny: make dbus, openssl, and notifications each optional
This commit exposes support for compilation without dbus, controlled
by the global dbusSupport argument.  This argument is understood by
many other nixpkgs expressions and can be set globally in
~/.config/nixpkgs/config.nix.

This commit also adds two package-specific arguments:

* notificationsSupport allows to disable the desktop-notifications
  feature when invoking cargo.

* useOpenSSL can be set to false in order to compile tiny with rustls
  instead of openssl.
2022-03-06 01:50:19 -08:00
figsoda
d05ccea213 tiny: use buildFeatures 2021-11-16 08:11:47 -05:00
Mario Rodas
f55376e875 tiny: 0.9.0 -> 0.10.0
https://github.com/osa1/tiny/releases/tag/v0.10.0
2021-11-07 04:20:00 +00:00
Alexander Sosedkin
4376444224 tiny: enable desktop notifications on Linux
The presence of the dbus dependency
suggests the intention was to enable notifications support.
2021-09-14 13:34:12 +02:00
xd1le
13be07b251 tiny: 0.8.0 -> 0.9.0 2021-08-09 02:04:59 +10:00
Daniël de Kok
85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00
Mario Rodas
4c84d1bce4 tiny: 0.7.0 -> 0.8.0
https://github.com/osa1/tiny/releases/tag/v0.8.0
2021-01-16 04:20:00 +00:00
R. RyanTM
6487eb735c tiny: 0.5.1 -> 0.7.0 2020-11-26 22:55:58 +00:00
Oleksii Filonenko
512c3c0a05 maintainers: rename filalex77 -> Br1ght0ne 2020-11-17 13:09:31 +02:00
Anton Parkhomenko
bb9cd254db tiny: fix build on darwin 2020-07-05 13:54:21 +03:00
Benjamin Hipple
4313049ed0 tiny: upgrade cargo fetcher and cargoSha256 2020-02-29 13:00:17 -05:00
Benjamin Hipple
eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
Oleksii Filonenko
cb132f981f
tiny: init at 0.5.1 2020-01-08 21:14:53 +02:00