Commit Graph

38 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
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
R. Ryantm
27260c6b8a evcxr: 0.16.0 -> 0.17.0 2023-12-17 09:07:04 +00:00
Maximilian Bosch
3ceea2785e
evcxr: 0.15.1 -> 0.16.0
ChangeLog: https://github.com/evcxr/evcxr/releases/tag/v0.16.0
2023-10-23 11:20:35 +02:00
R. Ryantm
6c8a9a4263 evcxr: 0.15.0 -> 0.15.1 2023-07-19 03:16:39 +00:00
Maximilian Bosch
5904ce8eb1
evcxr: 0.14.2 -> 0.15.0 (#241253)
ChangeLog: https://github.com/evcxr/evcxr/releases/tag/v0.15.0
2023-07-03 22:19:04 +02:00
figsoda
d88d36cfbb evcxr: fix build with rust 1.70 2023-06-05 15:47:35 -04:00
Maximilian Bosch
bcf4eea3bd
evcxr: skip test broken by rust 1.69 (#230089)
Closes #229524
See also https://github.com/evcxr/evcxr/issues/294

While it's unfortunate that unused variable warnings aren't detected
properly, the core functionality of the package is still fine, so let's
skip the test for now and wait until upstream figures out a solution.
2023-05-05 14:22:54 +02:00
Maximilian Bosch
f0d67d8732
evcxr: 0.14.1 -> 0.14.2
ChangeLog: https://github.com/google/evcxr/releases/tag/v0.14.2
2023-01-02 10:09:35 +01:00
R. Ryantm
84beab6d45 evcxr: 0.14.0 -> 0.14.1 2022-10-29 17:05:27 +00:00
Maximilian Bosch
825646db8f
evcxr: 0.13.0 -> 0.14.0
ChangeLog: https://github.com/google/evcxr/releases/tag/v0.14.0
2022-09-22 11:57:33 +02:00
Sergei Trofimovich
123cb930b3 evcxr: 0.12.0 -> 0.13.0
Among other things this release supports rust-1.63.0.
2022-08-13 13:38:52 +01:00
Maximilian Bosch
1c725641c9
evcxr: 0.11.0 -> 0.12.0
ChangeLog: https://github.com/google/evcxr/blob/v0.12.0/RELEASE_NOTES.md#version-0120
2021-11-30 14:04:02 +01:00
Maximilian Bosch
55aeab1edf
evcxr: 0.10.0 -> 0.11.0 (#133019)
ChangeLog: https://github.com/google/evcxr/blob/v0.11.0/RELEASE_NOTES.md#version-0110
2021-08-07 16:57:53 +02:00
Maximilian Bosch
2d2c58970a
evcxr: 0.9.0 -> 0.10.0
ChangeLog: https://github.com/google/evcxr/blob/v0.10.0/RELEASE_NOTES.md#version-0100
2021-06-05 20:59:07 +02:00
Stéphan Kochen
e957b3c5b8 evcxr: fix darwin build 2021-05-15 12:35:47 -07:00
Maximilian Bosch
f233562967
evcxr: 0.8.1 -> 0.9.0
ChangeLog: https://github.com/google/evcxr/blob/v0.9.0/RELEASE_NOTES.md#version-090
2021-05-05 22:39:22 +02:00
Maximilian Bosch
69dc924f0a
evcxr: 0.7.0 -> 0.8.1
Release notes: https://github.com/google/evcxr/blob/v0.8.1/RELEASE_NOTES.md#version-081
2021-03-11 12:35:18 +01:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Maximilian Bosch
214effeb9d
evcxr: 0.6.0 -> 0.7.0
https://github.com/google/evcxr/blob/v0.7.0/RELEASE_NOTES.md#version-070
2021-01-04 21:20:42 +01:00
Maximilian Bosch
e7053a87ad
evcxr: 0.5.3 -> 0.6.0
Since version `0.6.0` the `rust-src` component (or declaring
`RUST_SRC_PATH`) is needed. Just like in `rust-analyzer`, this is solved by
setting `RUST_SRC_PATH` to `rustPlatform.rustLibSrc` for tests and
wrapped executables.

ChangeLog: https://github.com/google/evcxr/blob/v0.6.0/RELEASE_NOTES.md#version-060
2020-11-12 19:41:32 +01:00
zowoq
473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
Maximilian Bosch
de96815a2e
evcxr: 0.5.2 -> 0.5.3
https://github.com/google/evcxr/blob/v0.5.3/RELEASE_NOTES.md
2020-08-11 22:54:26 +02:00
Maximilian Bosch
5ef09f9ada
evcxr: 0.5.1 -> 0.5.2
https://github.com/google/evcxr/blob/HEAD/RELEASE_NOTES.md#version-052
2020-07-26 11:32:41 +02:00
Kristoffer Søholm
a8b68fc49f evcxr: wrap evcxr_jupyter binary
evcxr_jupyter needs the same wrapper as the main binary to work.
2020-07-07 15:00:54 +02:00
Maximilian Bosch
cd5bc89cca
evcxr: 0.5.0 -> 0.5.1
582ce09f21/RELEASE_NOTES.md (version-051)
2020-04-17 00:28:12 +02:00
Benjamin Hipple
ecdff9225b evcxr: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 22:09:05 -08: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
Maximilian Bosch
a605fcabae
evcxr: 0.4.6 -> 0.5.0
https://crates.io/crates/evcxr/0.5.0
2020-01-23 13:16:58 +01:00
Maximilian Bosch
5065378316
evcxr: 0.4.5 -> 0.4.6
https://github.com/google/evcxr/releases/tag/v0.4.6
2020-01-01 21:13:45 +01:00
Maximilian Bosch
af564fbd8a
evcxr: 0.4.4 -> 0.4.5
New release: https://github.com/google/evcxr/blob/v0.4.5/RELEASE_NOTES.md#version-045

Also added myself as maintainer and removed `zeromq` from the build
inputs as it's now vendored by upstream.
2019-09-16 22:46:26 +02:00
Maximilian Bosch
819696bb0c
evcxr: 0.4.3 -> 0.4.4
https://github.com/google/evcxr/releases/tag/v0.4.4
2019-08-29 01:51:25 +02:00
Maximilian Bosch
62b75df413
evcxr: 0.3.3 -> 0.4.3
The current version fails to build: https://hydra.nixos.org/build/99189245

Please note that the releases aren't tracked by Git, but the currently
used rev points to `0.4.3` at crates.io: https://crates.io/crates/evcxr/0.4.3
2019-08-25 09:36:06 +02:00
Maximilian Bosch
2de35cf8ee
evcxr: fix darwin build
It seems as the `Security` framework is missing during the linking in a
darwin build environment:

https://logs.nix.ci/?key=nixos/nixpkgs.60675&attempt_id=42d9c159-f1a2-4abc-ab14-9dea23d941b1
2019-07-21 02:13:17 +02:00
Maximilian Bosch
c4323c200f
evcxr: fix hash and cc access
The `cargoSha256` hashes across the sourcetree had to be altered after
the last `cargo-vendor` bump. Also ensured that `cc` is available in
`$PATH` to avoid startup errors in the REPL.
2019-07-21 01:43:55 +02:00
Ben Hamlin
8ae2212da3 evcxr: makeWrapper -> nativeBuildInputs and omit Jupyter kernel
The Jupyter kernel should be its own package. Omitting it and its dependencies here.
2019-05-03 10:06:43 -07:00
Ben Hamlin
dfd2fb6d19 evcxr: init at 0.3.3 2019-04-30 21:50:52 -07:00