Revert "Namespace channel pushes in nixpkgs"

This reverts commit 38d2339ca2.
This commit is contained in:
Eelco Dolstra 2019-10-29 12:29:31 +01:00
parent 1856e2be31
commit fac8ec969e
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -226,7 +226,7 @@ rename("$channelsDir/.htaccess.tmp", "$channelsDir/.htaccess") or die;
# Update the nixos-* branch in the nixpkgs repo. Also update the
# nixpkgs-channels repo for compatibility.
system("git remote update origin >&2") == 0 or die;
system("git push origin $rev:refs/heads/channels/$channelName >&2") == 0 or die;
system("git push origin $rev:refs/heads/$channelName >&2") == 0 or die;
system("git push channels $rev:refs/heads/$channelName >&2") == 0 or die;
flock($lockfile, LOCK_UN) or die "cannot release channels lock\n";