-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
setup.sh: use six X
characters in mktemp
invocation
#178626
Conversation
Closes #178625 The `busybox` version of `mktemp` requires exactly six `X` characters in the argument to `mktemp`, unlike the `coreutils` version of `mktemp`. Let's accomodate packages, like `epson-escpr2`, which fool `setup.sh` into using the `busybox` version instead of the `stdenv` version.
https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/mktemp.html
Looks good to me. I like that stdenv is made to be very portable, that will make porting easier if some other shell is used in the future. |
One of the great parts about contributing to nixpkgs is learning unexpected stuff like this :)
Well, technically I think we ought to alert people to the fact that One way to do this is to make sure that Any ideas on how else to make sure people notice if they make changes to |
Description of changes
Closes #178625
The
busybox
version ofmktemp
requires exactly sixX
characters in the argument tomktemp
, unlike thecoreutils
version ofmktemp
.Let's accomodate packages, like
epson-escpr2
, which foolsetup.sh
into using thebusybox
version instead of thestdenv
version.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes