casperjs: do not move the current working directory

If /tmp and /nix are in different filesystems, this causes the `find`s
in the fixup phase to fail because of a stale file handle:

    find: cannot get current directory: No such file or directory
This commit is contained in:
Hoang Xuan Phu 2016-05-27 19:10:25 +08:00
parent 586dd54199
commit b4bf2364e5

@ -28,9 +28,8 @@ in stdenv.mkDerivation rec {
make test
'';
installPhase = ''
mv $PWD $out
cp -r . $out
'';
meta = {