summaryrefslogtreecommitdiffstats
path: root/update-channel.sh
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-06-15 00:36:58 +0200
committermakefu <github@syntax-fehler.de>2023-06-15 00:36:58 +0200
commit95305ec65f39432a260cc9a7b95a85686978a180 (patch)
treec132b3ab049dc441ea92839472a8765a54fe7f54 /update-channel.sh
parente73901be776063abe8f514863dd6582faec753df (diff)
root: clean up unused files
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'"