Commit Graph

30 Commits

Author SHA1 Message Date
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07: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
zowoq
7b537f99c0 exa: remove maintainer 2020-09-07 18:29:15 +10:00
zowoq
6ade1ec9a0 exa: add maintainer 2020-06-08 13:24:54 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Benjamin Hipple
855dd87bf3 exa: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 17:20:08 -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
Florian Klink
d41dca2f5f exa: apply patch to not panic on broken symlinks
Currently, exa fails when being executed in a git repository with
symlinks pointing to a non-existing location.

This can happen quite often with garbage-collected result links, or in
bazel repositories.

A fix was PR'ed in September at https://github.com/ogham/exa/pull/584,
but upstream seems to be not responding.

Let's apply this patch until there's a release containing the fixes.
2019-12-15 02:18:50 +01:00
Lily Ballard
a8c3fb990f exa: adopt installShellFiles
Also declare a separate "man" output.
2019-09-08 15:07:13 -07:00
volth
7bb6b373ab treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
Lily Ballard
16c9d30a53 exa: 0.8.0 -> 0.9.0 2019-07-14 23:50:17 -07:00
Alyssa Ross
062210bdff treewide: update cargoSha256 hashes for cargo-vendor upgrade
A recent upgrade of cargo-vendor changed its output slightly, which
broke all cargoSha256 hashes in nixpkgs.
See https://github.com/NixOS/nixpkgs/issues/60668 for more information.

Since then, a few hashes have been fixed in master by hand, but there
were a lot still to do, so I did all of the ones left over with some
scripts I wrote.

The one hash I wasn’t able to update was habitat's, because it’s
currently broken and the build doesn’t get far enough to produce a
hash anyway.
2019-06-01 15:17:52 +00:00
Johannes Frankenau
5948024c40 exa: install man page and shell completions 2018-05-13 22:51:04 +02:00
Vincent Laporte
1aae247be1
exa: fix build on darwin 2018-03-01 17:24:57 +00:00
Vladimír Čunát
6f5d989478
treewide: checkMeta fixes for x86_64-linux 2017-12-07 07:50:47 -05:00
Kevin Cox
5f8cf0048e rust: update cargo builder to fetch registry dynamically
The biggest benefit is that we no longer have to update the registry
package. This means that just about any cargo package can be built by
nix. No longer does `cargo update` need to be feared because it will
update to packages newer then what is available in nixpkgs.

Instead of fetching the cargo registry this bundles all the source code
into a "vendor/" folder.

This also uses the new --frozen and --locked flags which is nice.

Currently cargo-vendor only provides binaries for Linux and
macOS 64-bit. This can be solved by building it for the other
architectures and uploading it somewhere (like the NixOS cache).

This also has the downside that it requires a change to everyone's deps
hash. And if the old one is used because it was cached it will fail to
build as it will attempt to use the old version. For this reason the
attribute has been renamed to `cargoSha256`.

Authors:
* Kevin Cox <kevincox@kevincox.ca>
* Jörg Thalheim <Mic92@users.noreply.github.com>
* zimbatm <zimbatm@zimbatm.com>
2017-10-23 00:30:47 +01:00
dywedir
61c4ff5c31 exa: 0.7.0 -> 0.8.0 2017-10-03 13:17:40 +03:00
Jörg Thalheim
006ac6b224 exa: 0.6.0 -> 0.7.0 2017-07-07 16:23:39 +01:00
Robin Stumm
9079f94df7 exa: 2017-04-02 -> 0.6.0 2017-06-13 22:05:27 +02:00
Jörg Thalheim
d3fff80d00
exa: unstable-2016-04-20 -> unstable-2017-04-02 (unbrick)
cc @ehegnes
2017-04-04 11:42:33 +02:00
Tadas Barzdzius
e2eec8f436 exa: mark as broken 2016-11-16 13:27:12 +02:00
Moritz Ulrich
febb35bd03 rustRegistry: 2016-08-23 -> 2016-09-20 2016-09-20 11:10:37 +02:00
Stefan Junker
117a6d10bb exa: fix depshash 2016-08-25 00:33:15 +02:00
Kevin Cox
1e74806403 exa: Update dependencies. 2016-07-26 14:57:50 -04:00
David Craven
54f80775cb rust: Refactoring of rust and cargo packages 2016-06-15 12:47:13 +02:00
Tadas Barzdzius
94280ecf90 exa: 2016-04-11 -> 2016-04-20 2016-04-20 12:41:37 +03:00
Tadas Barzdzius
1f3e2ced4a exa: 2016-03-22 -> 2016-04-11 2016-04-13 18:11:52 +03:00
Jakob Gillich
74ef06dab6 exa: 2016-02-15 -> 2016-03-22 2016-03-22 15:54:23 -04:00
Eric Hegnes
23ab6bf6b2 exa: init at git 2016-02-15 2016-02-16 11:02:38 -05:00