2019-08-30 22:11:24 +01:00
|
|
|
#!/usr/bin/env nix-shell
|
|
|
|
#! nix-shell -i bash -p curl nix
|
|
|
|
set -euxo pipefail
|
|
|
|
|
2021-01-13 02:52:39 +00:00
|
|
|
export NIXPKGS_ALLOW_BROKEN=1
|
|
|
|
|
2019-08-30 22:11:24 +01:00
|
|
|
# This script piggybacks on the automatic code generation done by the nix-community emacs overlay
|
|
|
|
# You can use this to avoid running lengthy code generation jobs locally
|
|
|
|
|
|
|
|
curl -s -O https://raw.githubusercontent.com/nix-community/emacs-overlay/master/repos/elpa/elpa-generated.nix
|
2021-05-21 00:03:41 +01:00
|
|
|
nix-instantiate ../../../../../ -A emacs.pkgs.elpaPackages --show-trace
|
2020-12-18 03:46:05 +00:00
|
|
|
git diff --exit-code elpa-generated.nix > /dev/null || git commit -m "emacs.pkgs.elpa-packages: $(date --iso)" -- elpa-generated.nix
|
2020-05-17 00:41:14 +01:00
|
|
|
|
|
|
|
curl -s -O https://raw.githubusercontent.com/nix-community/emacs-overlay/master/repos/org/org-generated.nix
|
2021-05-21 00:03:41 +01:00
|
|
|
nix-instantiate ../../../../../ -A emacs.pkgs.orgPackages --show-trace
|
2020-12-18 03:46:05 +00:00
|
|
|
git diff --exit-code org-generated.nix > /dev/null || git commit -m "emacs.pkgs.org-packages: $(date --iso)" -- org-generated.nix
|
2019-08-30 22:11:24 +01:00
|
|
|
|
|
|
|
curl -s -O https://raw.githubusercontent.com/nix-community/emacs-overlay/master/repos/melpa/recipes-archive-melpa.json
|
2021-05-21 00:03:41 +01:00
|
|
|
nix-instantiate --show-trace ../../../../../ -A emacs.pkgs.melpaStablePackages
|
|
|
|
nix-instantiate --show-trace ../../../../../ -A emacs.pkgs.melpaPackages
|
2020-12-18 03:46:05 +00:00
|
|
|
git diff --exit-code recipes-archive-melpa.json > /dev/null || git commit -m "emacs.pkgs.melpa-packages: $(date --iso)" -- recipes-archive-melpa.json
|