summaryrefslogtreecommitdiffstats
path: root/makefu/update-channel.sh
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
committermakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
commit060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch)
tree2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/update-channel.sh
parentcbfcc890e3b76d942b927809bf981a5fa7289e6a (diff)
makefu: move out to own repo, add vacation-note
Diffstat (limited to 'makefu/update-channel.sh')
-rwxr-xr-xmakefu/update-channel.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/makefu/update-channel.sh b/makefu/update-channel.sh
deleted file mode 100755
index 0899581e..00000000
--- a/makefu/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'"