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. |
||
|---|---|---|
| .. | ||
| buildenv.nix | ||
| config.nix.in | ||
| derivation.nix | ||
| fetchurl.nix | ||
| imported-drv-to-derivation.nix | ||
| local.mk | ||
| unpack-channel.nix | ||