nix-gh/corepkgs
Bjørn Forsman f72206b736 unpack-channel.nix: fix 'mv' corner case
unpack-channel.nix fails if the tarball contains a directory named the
same as the channel:

  mv: cannot move 'nixpkgs' to a subdirectory of itself, '.../nixpkgs'

This commit fixes that by not moving the directory if it already has the
correct name.
2017-02-27 10:12:58 +01:00
..
buildenv.nix buildenv: perl -> c++ 2016-08-11 07:58:33 -04:00
config.nix.in buildenv: perl -> c++ 2016-08-11 07:58:33 -04:00
derivation.nix Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
fetchurl.nix <nix/fetchurl.nix>: Remove unnecessary assertion 2017-02-16 14:06:47 +01:00
imported-drv-to-derivation.nix Importing derivations: Add name attribute to make a valid drv 2015-07-23 17:04:07 +02:00
local.mk Remove nar.nix 2016-08-11 17:12:40 +02:00
unpack-channel.nix unpack-channel.nix: fix 'mv' corner case 2017-02-27 10:12:58 +01:00