1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00
nixpkgs/pkgs
aszlig f83af95f8a
build-support: Use mktemp -d in nix-prefetch-*.
Instead of relying on $$ to not collide with an existing path.

Quoting the Bash manual about $$:

> Expands to the process ID of the shell. In a () subshell, it expands
> to the process ID of the current shell, not the subshell.

So, this is different from $BASHPID:

> Expands to the process ID of the current bash process. This differs
> from $$ under certain circumstances, such as subshells that do not
> require bash to be re-initialized.

But even $BASHPID is prone to race conditions if the process IDs wrap
around, so to be on the safe side, we're using mktemp here.

Closes #3784.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-08-25 15:28:55 +02:00
..
applications fix js2-mode revision 2014-08-25 13:56:53 +02:00
build-support build-support: Use mktemp -d in nix-prefetch-*. 2014-08-25 15:28:55 +02:00
data data/fonts/terminus-font: Update to 4.39. 2014-08-24 20:06:43 +04:00
desktops Fix many package descriptions 2014-08-24 22:31:37 +02:00
development libnftnl: Add derivation 2014-08-25 14:55:15 +02:00
games gemrb: bumped to 0.8.1 2014-08-25 14:08:13 +02:00
misc ppsspp: update to 0.9.9.1 2014-08-25 10:14:44 +02:00
os-specific nftables: Add derivation 2014-08-25 14:55:15 +02:00
servers Fix many package descriptions 2014-08-24 22:31:37 +02:00
shells pythonPackges.ipython: 2.0.0 -> 2.2.0 2014-08-25 11:01:31 +02:00
stdenv Merge pull request #2455 from bjornfor/helpful-messages-when-refusing-eval 2014-08-12 20:18:10 +02:00
test
tools docbook2x: Add platforms so that it builds on hydra 2014-08-25 14:55:15 +02:00
top-level nftables: Add derivation 2014-08-25 14:55:15 +02:00