From fac8ec969e03112f769ee991d18899a64a996b72 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 29 Oct 2019 12:29:31 +0100 Subject: [PATCH] Revert "Namespace channel pushes in nixpkgs" This reverts commit 38d2339ca2b3ddbda5ef34a18864c9b18474852d. --- mirror-nixos-branch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror-nixos-branch.pl b/mirror-nixos-branch.pl index 1147916..cfcd88b 100755 --- a/mirror-nixos-branch.pl +++ b/mirror-nixos-branch.pl @@ -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";