ABB3BIS2X3MOXUJD5CUEODSJ3QCRZ4YDSNME2AHNCPG5OJ2F2I5QC with import ./config.nix;{ src }:{copy =mkDerivation {name = "git-rev-input";builder = ./scm-builder.sh;inherit src;};}
#! /bin/shset -erepo=git-repoexport HOME=$(pwd)STATE_FILE=$(pwd)/.git-rev-stateif test -e $STATE_FILE; thenstate=1rm $STATE_FILEelsestate=0touch $STATE_FILEfiecho "STATE: $state"case $state in(0) echo "::Create repo. -- continue -- updated::"git init $repocd $repogit config --global user.email "you@example.com"git config --global user.name "Your Name"touch foogit add fooGIT_AUTHOR_DATE="1970-01-01T00:00:00 +0000" GIT_COMMITTER_DATE="1970-01-01T00:00:00 +0000" git commit -m "Add foo"git tag -a -m "First Tag." tag0;;(*) echo "::End. -- stop -- nothing::"rm -rf $repo;;esac