-
-
Notifications
You must be signed in to change notification settings - Fork 18k
setup.sh: use six X characters in mktemp invocation
#178626
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
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
busyboxversion ofmktemprequires exactly sixXcharacters in the argument tomktemp, unlike thecoreutilsversion ofmktemp.Let's accomodate packages, like
epson-escpr2, which foolsetup.shinto using thebusyboxversion instead of thestdenvversion.Things done
sandbox = trueset 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.shto update generated release notes