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

shell_cmds: init at 198 #21133

Merged
merged 1 commit into from Dec 15, 2016
Merged

shell_cmds: init at 198 #21133

merged 1 commit into from Dec 15, 2016

Conversation

matthewbauer
Copy link
Member

@matthewbauer matthewbauer commented Dec 13, 2016

Motivation for this change

This adds Apple's shell_cmds which contains the following binaries:

  • alias
  • apply
  • basename
  • bg
  • cd
  • chroot
  • command
  • date
  • dirname
  • echo
  • env
  • false
  • fc
  • fg
  • getopt
  • getopts
  • groups
  • hash
  • hexdump
  • hostname
  • id
  • jobs
  • jot
  • kill
  • killall
  • lastcomm
  • locate
  • locate.bigram
  • locate.code
  • logname
  • mktemp
  • nice
  • nohup
  • od
  • path_helper
  • printenv
  • printf
  • pwd
  • read
  • renice
  • script
  • seq
  • shlock
  • sleep
  • systime
  • tee
  • time
  • true
  • type
  • ulimit
  • umask
  • unalias
  • uname
  • users
  • wait
  • what
  • whereis
  • which
  • who
  • whoami
  • xargs
  • yes

These are disabled currently because they don't build:

  • w
  • find
  • su
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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/)
  • Fits CONTRIBUTING.md.

fixes #11707

@mention-bot
Copy link

@matthewbauer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @copumpkin, @pikajude and @LnL7 to be potential reviewers.

@pSub pSub added 8.has: package (new) 6.topic: darwin Running or building packages on Darwin labels Dec 14, 2016
Copy link
Member

@LnL7 LnL7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, apart from the osx version

@@ -40,6 +40,7 @@ let
basic_cmds = "55";
adv_cmds = "163";
file_cmds = "264.1.1";
shell_cmds = "198";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version of 10.11.6 is shell_cmds-187, I think this one is from 10.12.1.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch. should be fixed

--replace "FCBA169514A146D000AA698B /* PBXTargetDependency */," "" \
--replace "FCBA168B14A146D000AA698B /* PBXTargetDependency */," "" \
--replace "FCBA165914A146D000AA698B /* PBXTargetDependency */," "" \
--replace "FCBA168714A146D000AA698B /* PBXTargetDependency */," ""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this generally work between versions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly, no.

@LnL7 LnL7 merged commit 87b3918 into NixOS:master Dec 15, 2016
@copumpkin
Copy link
Member

Wonderful, thanks!

@LnL7
Copy link
Member

LnL7 commented Dec 15, 2016

Also noticed that xcbuild doesn't have metadata so hydra didn't build it.

@matthewbauer matthewbauer deleted the shell_cmds branch February 22, 2019 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin 8.has: package (new)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package Apple's shell_cmds project
5 participants