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.
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