diff --git a/common/overlays/dracula-theme/xresources.nix b/common/overlays/dracula-theme/xresources.nix index c78179b5..866cf5d4 100644 --- a/common/overlays/dracula-theme/xresources.nix +++ b/common/overlays/dracula-theme/xresources.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation { owner = "dracula"; repo = "xresources"; rev = "539ef24e9b0c5498a82d59bfa2bad9b618d832a3"; - sha256 = "sha256-6fltsAluqOqYIh2NX0I/LC3WCWkb9Fn8PH6LNLBQbrY="; + hash = "sha256-6fltsAluqOqYIh2NX0I/LC3WCWkb9Fn8PH6LNLBQbrY="; }; installPhase = '' diff --git a/common/pkgs/input-emulator/default.nix b/common/pkgs/input-emulator/default.nix index 03737124..5d713831 100644 --- a/common/pkgs/input-emulator/default.nix +++ b/common/pkgs/input-emulator/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { owner = "tio"; repo = pname; rev = "6c35040e6fc4f65ce0519ee76d00d60490bcb987"; - sha256 = "sha256-Im0RADqRwlZ/RiZFSVp+HwnWoLdcpRp0Ej6RP0GY0+c="; + hash = "sha256-Im0RADqRwlZ/RiZFSVp+HwnWoLdcpRp0Ej6RP0GY0+c="; }; nativeBuildInputs = [ diff --git a/common/pkgs/pam-fprint-grosshack/default.nix b/common/pkgs/pam-fprint-grosshack/default.nix index 7f590b94..21d4f2cf 100644 --- a/common/pkgs/pam-fprint-grosshack/default.nix +++ b/common/pkgs/pam-fprint-grosshack/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { owner = "mishakmak"; repo = pname; rev = "45b42524fb5783e1e555067743d7e0f70d27888a"; - sha256 = "sha256-obczZbf/oH4xGaVvp3y3ZyDdYhZnxlCWvL0irgEYIi0="; + hash = "sha256-obczZbf/oH4xGaVvp3y3ZyDdYhZnxlCWvL0irgEYIi0="; }; nativeBuildInputs = [ diff --git a/updateSha.sh b/updateSha.sh index 3155ee7d..98e4bd40 100755 --- a/updateSha.sh +++ b/updateSha.sh @@ -74,8 +74,13 @@ updateGSR() { ( cd /tmp || return - git clone https://repo.dec05eba.com/gpu-screen-recorder - cd gpu-screen-recorder || return + if [[ ! -d "gpu-screen-recorder" ]]; then + git clone https://repo.dec05eba.com/gpu-screen-recorder + cd gpu-screen-recorder || return + else + cd gpu-screen-recorder || return + git pull + fi REV=$(printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)") URL=https://dec05eba.com/snapshot/gpu-screen-recorder.git."$REV".tar.gz