Commit Graph

22 Commits

Author SHA1 Message Date
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Atemu
e583172fcb toybox: small refactor 2023-01-16 12:17:04 +01:00
Atemu
5e2eff6984 toybox: fix Libsystem inconsistency properly
As @wegank pointed out, the problem was that buildPackages.stdenv.cc was in
depsBuildBuild and that includes the regular stdenv's Libsystem. Only do that
when cross-compiling.
2023-01-16 11:20:00 +01:00
Atemu
0c9f7eaae0 toybox: unbreak on darwin
Was also missing iconv which Darwin's libc doesn't include apparently.

We need to use a workaround for https://github.com/NixOS/nixpkgs/issues/210923
here.
2023-01-15 15:43:00 +01:00
Martin Weinelt
eb2ed865eb
toybox: fix build with libxcrypt 2022-10-09 18:10:38 +02:00
R. Ryantm
823747166f toybox: 0.8.6 -> 0.8.8 2022-08-17 00:53:22 +00:00
R. Ryantm
f5f27bccab toybox: 0.8.5 -> 0.8.6 2021-12-24 04:33:50 +00:00
Alyssa Ross
f0bc4d95b8 pkgsStatic.toybox: fix build 2021-09-19 18:05:17 +00:00
R. RyanTM
99d5f055ba toybox: 0.8.4 -> 0.8.5 2021-08-14 16:25:56 +00: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
John Ericson
f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Ryan Burns
2cab4879c1 toybox: fix cross-compilation
Toybox expects a native `cc` for producing
build-time executables, such as kconfig/conf.
2020-12-25 12:28:55 +01:00
Christian Kampka
a41e85dbe8
toybox: 0.8.3 -> 0.8.4 2020-11-26 08:18:22 +01:00
R. RyanTM
db691b9221 toybox: 0.8.2 -> 0.8.3 2020-05-27 19:38:35 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
65395a7105
treewide: installTargets is a list 2019-12-30 13:29:27 +01:00
R. RyanTM
ff08edaf5e toybox: 0.8.1 -> 0.8.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/toybox/versions
2019-10-24 11:00:52 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Will Dietz
d96d78d1cd
toybox: 0.8.0 -> 0.8.1
http://landley.net/toybox/index.html#21-05-2019
2019-06-04 15:25:30 -05:00
Matthew Bauer
724e833ea2 treewide: disable -Werror for llvm 7
Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
2019-04-26 21:55:04 -04:00
hhm
84f22dd862 toybox: install all binary links in one directory
also...
- removes an unused parameter
- patches all shebangs, not just those in "scripts" dir
- add "which" to checkInputs for debug mode tests
2019-03-03 16:33:24 -05:00
hhm
88e69dbc52 toybox: init at 0.8.0
B"H toybox package, supporting static building via enableStatic, and custom configurations via extraConfig and enableMinimal parameters
parseconfig shell function, and misc other parts, are based on busybox package derivation
2019-02-27 20:49:39 -05:00