Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toybox: init at 0.8.0 #55367

Merged
merged 1 commit into from Feb 28, 2019
Merged

toybox: init at 0.8.0 #55367

merged 1 commit into from Feb 28, 2019

Conversation

@hhm0
Copy link
Contributor

@hhm0 hhm0 commented Feb 7, 2019

B"H

toybox package, supporting static building via enableStatic parameter, and custom configuration via extraConfig and enableMinimal parameters
parseconfig shell function, and misc other parts, are based on the busybox package derivation.

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

pkgs/tools/misc/toybox/default.nix Outdated Show resolved Hide resolved
pkgs/tools/misc/toybox/default.nix Outdated Show resolved Hide resolved
pkgs/tools/misc/toybox/default.nix Outdated Show resolved Hide resolved
pkgs/tools/misc/toybox/default.nix Outdated Show resolved Hide resolved
pkgs/tools/misc/toybox/default.nix Outdated Show resolved Hide resolved
pkgs/tools/misc/toybox/default.nix Outdated Show resolved Hide resolved
pkgs/tools/misc/toybox/default.nix Outdated Show resolved Hide resolved
pkgs/tools/misc/toybox/default.nix Outdated Show resolved Hide resolved
pkgs/tools/misc/toybox/default.nix Show resolved Hide resolved
@hhm0 hhm0 force-pushed the hhm0:toybox branch 2 times, most recently from fc8878e to 9d0d979 Feb 27, 2019
@hhm0
Copy link
Contributor Author

@hhm0 hhm0 commented Feb 27, 2019

@Infinisil Thanks for the reviews! Is this package good to go?

@hhm0 hhm0 force-pushed the hhm0:toybox branch from 9d0d979 to 2346d1f Feb 27, 2019
@Infinisil
Copy link
Member

@Infinisil Infinisil commented Feb 28, 2019

Cool, now you just need to squash the commits into one :)

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
@hhm0 hhm0 force-pushed the hhm0:toybox branch from 2346d1f to 88e69db Feb 28, 2019
@hhm0
Copy link
Contributor Author

@hhm0 hhm0 commented Feb 28, 2019

Cool, now you just need to squash the commits into one :)

Done :-)

@Infinisil Infinisil merged commit 7387854 into NixOS:master Feb 28, 2019
10 checks passed
10 checks passed
grahamcofborg-eval ^.^!
Details
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
Details
grahamcofborg-eval-check-meta config.nix: checkMeta = true
Details
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A manual
Details
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A options
Details
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A manual
Details
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A tarball
Details
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A unstable
Details
grahamcofborg-eval-package-list nix-env -qa --json --file .
Details
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
Details
@dtzWill
Copy link
Contributor

@dtzWill dtzWill commented Feb 28, 2019

Installing binaries into usr/bin and usr/sbin isn't very Nix-y, and won't appear on PATH properly.

Consider using install_flat as I did when packaging this: https://github.com/dtzWill/nur-packages/blob/d471d48956c51f4b31f7229baf8a3896c1fbaa11/pkgs/toybox/default.nix .

@hhm0 hhm0 mentioned this pull request Mar 1, 2019
4 of 10 tasks complete
@hhm0
Copy link
Contributor Author

@hhm0 hhm0 commented Mar 1, 2019

Installing binaries into usr/bin and usr/sbin isn't very Nix-y, and won't appear on PATH properly.

Consider using install_flat as I did when packaging this: https://github.com/dtzWill/nur-packages/blob/d471d48956c51f4b31f7229baf8a3896c1fbaa11/pkgs/toybox/default.nix .

Thanks @dtzWill! Opened #56556 for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.