summaryrefslogtreecommitdiffstats
path: root/update-channel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update-channel.sh')
-rwxr-xr-xupdate-channel.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/update-channel.sh b/update-channel.sh
deleted file mode 100755
index 0899581ec..000000000
--- a/update-channel.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-dir=$(dirname $0)
-oldref=$(cat $dir/nixpkgs.json | jq -r .rev | sed 's/\(.\{7\}\).*/\1/')
-nix-shell -p nix-prefetch-git --run 'nix-prefetch-git \
- --url https://github.com/makefu/nixpkgs \
- --rev refs/heads/master' \
-> $dir/nixpkgs.json
-newref=$(cat $dir/nixpkgs.json | jq -r .rev | sed 's/\(.\{7\}\).*/\1/')
-echo "git commit $dir/nixpkgs.json -m 'ma nixpkgs: $oldref -> $newref'"