Setup auto-update script

This commit is contained in:
Nathan McCarty 2023-05-15 22:58:57 -04:00
parent 86e7015528
commit 894f5b902a
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
2 changed files with 8 additions and 1 deletions

View File

@ -100,6 +100,6 @@
packages.semeru-stable = self.packages.${system}.semeru.stable;
packages.semeru-lts = self.packages.${system}.semeru.lts;
defaultPackage = self.packages.${system}.stable;
defaultPackage = self.packages.${system}.temurin.stable;
});
}

7
update.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -exou pipefail
DIRECTORY=$(realpath $(dirname "$0"))
pushd $DIRECTORY
nix run ./updater > sources.json