Commit Graph

50 Commits

Author SHA1 Message Date
Riey
62b44d8dfa
rust-analyzer: 2021-04-05 -> 2021-04-12 2021-04-13 03:05:22 +09:00
oxalica
501284ea42
rust-analyzer: rename nix file 2021-04-12 01:49:58 +08:00
oxalica
6efb930e18
rust-analyzer: merge version specific fields into generic derivation 2021-04-12 01:49:58 +08:00
oxalica
d4e758c5ac
rust-analyzer: 2021-03-22 -> 2021-04-05 2021-04-12 01:04:33 +08:00
oxalica
f8d0005177
rust-analyzer: 2021-03-15 -> 2021-03-22 2021-03-23 22:34:00 +08:00
Andrey Kuznetsov
18ff588551
rust-analyzer: fix build on darwin 2021-03-18 18:55:36 +04:00
Bastian Köcher
a88aa04c28
rust-analyzer: 2021-03-01 -> 2021-03-15 2021-03-15 19:18:11 +01:00
Bastian Köcher
d8ce2df744
rust-analyzer: 2021-02-22 -> 2021-03-01 2021-03-01 12:21:10 +01:00
oxalica
0ca2e7d621
rust-analyzer: 2021-02-15 -> 2021-02-22 2021-02-22 20:00:24 +08:00
oxalica
e58c6f5f42
rust-analyzer: 2021-02-08 -> 2021-02-15 2021-02-15 21:53:06 +08:00
oxalica
cad9457feb
rust-analyzer: 2021-02-01 -> 2021-02-08 2021-02-08 20:04:09 +08:00
oxalica
6c2b3f0cc2
rust-analyzer: 2021-01-25 -> 2021-02-01 2021-02-02 00:04:19 +08:00
Badi Abdul-Wahid
9afe3525f3 rust-analyzer: 2021-01-18 -> 2021-01-25 2021-01-26 22:16:05 -08:00
oxalica
af2a8552a0
rust-analyzer: 2021-01-04 -> 2021-01-18 2021-01-19 22:06:30 +08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
oxalica
4c247d7729
rust-analyzer: 2020-11-09 -> 2021-01-04 2021-01-07 03:16:02 +08:00
oxalica
44a8cf19b1
rust-analyzer: fix update script 2021-01-05 23:37:09 +08:00
oxalica
4894ffd620
rust-analyzer: 2020-11-02 -> 2020-11-09 2020-11-09 20:33:37 +08:00
oxalica
d52578bd31
rust-analyzer: fix update script with unstable nix 2020-11-09 20:33:23 +08:00
oxalica
68060f6f6f
makeRustPlatform: add rustLibSrc
rust-analyzer: rustcSrc -> rustLibSrc to fix build
2020-11-07 01:42:27 +08:00
oxalica
7ac7ce8b1a
rust-analyzer: 2020-10-19 -> 2020-11-02 2020-11-07 01:29:51 +08:00
oxalica
dc12101886 rust-analyzer: 2020-10-12 -> 2020-10-19 2020-10-19 13:26:54 -07:00
oxalica
c652646390 rust-analyzer: 2020-10-05 -> 2020-10-12 2020-10-13 20:01:37 -07:00
oxalica
714abbc5f5
rust-analyzer: 2020-09-28 -> 2020-10-05 2020-10-06 16:38:38 +08:00
oxalica
7d32577544
rust-analyzer: 2020-09-21 -> 2020-09-28 2020-09-29 23:19:02 +08:00
oxalica
21a6f3aa65 rust-analyzer: fix build 2020-09-21 10:55:15 -07:00
oxalica
0e0dc5544c rust-analyzer: 2020-08-24 -> 2020-09-21 2020-09-21 10:55:15 -07:00
oxalica
a445a22b3a
rust-analyzer: 2020-08-17 -> 2020-08-24 2020-08-24 22:39:39 +08:00
oxalica
0c6905244f
rust-analyzer: 2020-08-10 -> 2020-08-17 2020-08-17 21:45:54 +08:00
zowoq
473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
oxalica
ebea92b8db
rust-analyzer: 2020-08-03 -> 2020-08-10 2020-08-13 02:02:14 +08:00
oxalica
ed34ccf030
rust-analyzer: 2020-07-27 -> 2020-08-03 2020-08-03 20:30:50 +08:00
oxalica
45cd9b2c18
rust-analyzer: 2020-07-13 -> 2020-07-27 2020-07-27 20:22:44 +08:00
oxalica
26de7b3711
rust-analyzer: disable install check due to #93119 2020-07-14 21:51:50 +08:00
oxalica
ddacdbc953
rust-analyzer: fix version display and add check 2020-07-14 20:15:55 +08:00
oxalica
c90e6dd06d
rust-analyzer: 2020-06-08 -> 2020-07-13 2020-07-14 20:15:55 +08:00
oxalica
1cb300ac2a
rust-analyzer: fix update script and avoid updating nodePackages if possible 2020-07-14 19:02:04 +08:00
Florian Klink
f761f29bd3
Merge pull request #90211 from lovesegfault/r-a-bump
rust-analyzer: 2020-06-01 -> 2020-06-08
2020-06-18 20:39:16 +02:00
Bernardo Meurer
d55e70b7cd rust-analyzer: 2020-06-01 -> 2020-06-08 2020-06-12 15:55:44 -07:00
Jan Tojnar
acb53e0698
Merge branch 'staging-next' into staging 2020-06-10 04:10:57 +02:00
oxalica
a3acf1572a
rust-analyzer: 2020-04-20 -> 2020-06-01 2020-06-06 21:18:58 +08:00
Maximilian Bosch
6b23cfe689
rustPlatform: add buildAndTestSubdir-argument
There are several tarballs (such as the `rust-lang/rust`-source) with a
`Cargo.toml` at root and several sub-packages (with their own Cargo.toml)
without using workspaces[1].

In such a case it's needed to move into a subdir to only build the
specified sub-package (e.g. `rustfmt` or `rsl`), however the artifacts
are at `/target` in the root-dir of the build environment. This breaks
the build since `buildRustPackage` searches for executables in `target`
(which is at the build-env's root) at the end of the `buildPhase`.

With the optional `buildAndTestSubdir`-argument, the builder moves into
the specified subdir using `pushd`/`popd` during `buildPhase` and
`checkPhase`.

Also moved the logic to find executables and libs to the end of the `buildPhase`
from a custom `postBuild`-hook to fix packages with custom `build`/`install`-procedures
such as `uutils-coreutils`.

[1] https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
2020-05-13 01:47:17 +02:00
oxalica
a82fe46ae1
rust-analyzer: 2020-04-06 -> 2020-04-20 2020-04-23 17:11:04 +08:00
oxalica
8318c36a4b
vscode-extensions.rust-analyzer: use global NPM packages to share dependencies 2020-04-11 16:01:12 +08:00
oxalica
f76a4950c5
rust-analyzer: 2020-03-16 -> 2020-04-06 2020-04-11 00:52:40 +08:00
oxalica
fc8d2f426f
rust-analyzer: change to nix-prefetch and fix version checking in update script 2020-04-11 00:52:09 +08:00
oxalica
bde9289415
rust-analyzer: check compatibility in update script 2020-03-17 17:56:26 +08:00
oxalica
4f12275a06
rust-analyzer: 2020-03-09 -> 2020-03-16
vscode-extensions.rust-analyzer: 2020-03-09 -> 2020-03-16
2020-03-17 17:08:02 +08:00
oxalica
b0a4ce1689
vscode-extensions.rust-analyzer: init at unstable-2020-03-09 2020-03-10 19:12:40 +08:00
oxalica
3ea54e6972
rust-analyzer: init at unstable-2020-03-09 2020-03-10 19:12:35 +08:00