diff --git a/.github/workflows/update-snapshot.yml b/.github/workflows/update-snapshot.yml deleted file mode 100644 index 2d47363..0000000 --- a/.github/workflows/update-snapshot.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Update emacs snapshots with flake - -on: - schedule: - - cron: "15 10 1 * *" - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - - uses: cachix/install-nix-action@v21 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} - - name: Update emacs snapshots - run: nix flake update - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - title: 'Emacs snapshots update' - body: '' - commit-message: 'Update emacs snapshots' - branch: emacs-snapshot - branch-suffix: timestamp - delete-branch: true - add-paths: flake* diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 2e7b728..0000000 --- a/flake.lock +++ /dev/null @@ -1,398 +0,0 @@ -{ - "nodes": { - "emacs-23-4": { - "flake": false, - "locked": { - "narHash": "sha256-OzqhctHmsk30IfS61czooF+1LShToeT614RtqrMNyJw=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-23.4.tar.bz2" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-23.4.tar.bz2" - } - }, - "emacs-24-1": { - "flake": false, - "locked": { - "narHash": "sha256-UVWKuXneNHq1zJtkGo6eLacUl5MdEbCBL68a8NcYEWk=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.1.tar.bz2" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.1.tar.bz2" - } - }, - "emacs-24-2": { - "flake": false, - "locked": { - "narHash": "sha256-zdhQvRQs1ty4b8E4Khf10dCv+iGNuVl4FDCtUFqt2bI=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.2.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.2.tar.xz" - } - }, - "emacs-24-3": { - "flake": false, - "locked": { - "narHash": "sha256-kANCrStnnt/0Mxt5qV94iKwcXGgFqqhJVUwRSAC0ez4=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.3.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.3.tar.xz" - } - }, - "emacs-24-4": { - "flake": false, - "locked": { - "narHash": "sha256-WDPY5n3pMF7o4noS941GLDQ2zFKa8PvDkWjeMw0Wsm0=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.4.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.4.tar.xz" - } - }, - "emacs-24-5": { - "flake": false, - "locked": { - "narHash": "sha256-jb801XX+fMvQ5OBYKpjPPsqAcqgaeYKPRfeZIP8R/rc=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz" - } - }, - "emacs-25-1": { - "flake": false, - "locked": { - "narHash": "sha256-Lxgh6MOMYYaenkgwFiFw4SZOxkGk+q/4bDv3B8rAAWM=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz" - } - }, - "emacs-25-2": { - "flake": false, - "locked": { - "narHash": "sha256-L+Tgth/sI7aI+xQOu5iRWxhaivsK6BcmNB7wV1bUzg0=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-25.2.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-25.2.tar.xz" - } - }, - "emacs-25-3": { - "flake": false, - "locked": { - "narHash": "sha256-1czqSKUzuoJc+WBwpojicwpZE6VKnAqNJt2V04k2ifc=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-25.3.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-25.3.tar.xz" - } - }, - "emacs-26-1": { - "flake": false, - "locked": { - "narHash": "sha256-amsPbiVbko/Qvsw2cfJdkhq0UHGjhn5uyLN0MEeMq20=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.xz" - } - }, - "emacs-26-2": { - "flake": false, - "locked": { - "narHash": "sha256-AvO73gk6Tb+aDARgbgAq6RVz71wBSxh12RrnrD/3TM0=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-26.2.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-26.2.tar.xz" - } - }, - "emacs-26-3": { - "flake": false, - "locked": { - "narHash": "sha256-iYPYrf/6Cd6wozabn2D/bj9M591vLqO84uPyj3ZN/+I=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-26.3.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-26.3.tar.xz" - } - }, - "emacs-27-1": { - "flake": false, - "locked": { - "narHash": "sha256-oADGvqBASpU8Q512c+PPF1pwm1/tg2oo2a30ghJ2xVQ=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-27.1.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-27.1.tar.xz" - } - }, - "emacs-27-2": { - "flake": false, - "locked": { - "narHash": "sha256-BaLVKUHuxGuO3F+/YRQ8DCe8FkR/fkoJIh6p4xbF4m0=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-27.2.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-27.2.tar.xz" - } - }, - "emacs-28-1": { - "flake": false, - "locked": { - "narHash": "sha256-EGuOesE+gq6wzF4qiqdBQhPm+TGzZnJ/sHxkd4Liz4s=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-28.1.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-28.1.tar.xz" - } - }, - "emacs-28-2": { - "flake": false, - "locked": { - "narHash": "sha256-+Tmn3gJ+7536KehS3QUGRWFc0ic7xZI/KDl63n/yEp4=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-28.2.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-28.2.tar.xz" - } - }, - "emacs-29-1": { - "flake": false, - "locked": { - "narHash": "sha256-C7920QvXQvrqUNAScIb++H1+3CC54ppPby+/hh6+yo0=", - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-29.1.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://ftp.gnu.org/gnu/emacs/emacs-29.1.tar.xz" - } - }, - "emacs-ci": { - "inputs": { - "emacs-23-4": "emacs-23-4", - "emacs-24-1": "emacs-24-1", - "emacs-24-2": "emacs-24-2", - "emacs-24-3": "emacs-24-3", - "emacs-24-4": "emacs-24-4", - "emacs-24-5": "emacs-24-5", - "emacs-25-1": "emacs-25-1", - "emacs-25-2": "emacs-25-2", - "emacs-25-3": "emacs-25-3", - "emacs-26-1": "emacs-26-1", - "emacs-26-2": "emacs-26-2", - "emacs-26-3": "emacs-26-3", - "emacs-27-1": "emacs-27-1", - "emacs-27-2": "emacs-27-2", - "emacs-28-1": "emacs-28-1", - "emacs-28-2": "emacs-28-2", - "emacs-29-1": "emacs-29-1", - "emacs-release-snapshot": "emacs-release-snapshot", - "emacs-snapshot": "emacs-snapshot", - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" - }, - "locked": { - "lastModified": 1702913865, - "narHash": "sha256-B8yBp22GNjyeTBfzKMalzf1GTqoZCE1/RLWoBe95RNo=", - "owner": "purcell", - "repo": "nix-emacs-ci", - "rev": "d78de6883eb7c54e24018b1a030a2ba40e116efa", - "type": "github" - }, - "original": { - "owner": "purcell", - "repo": "nix-emacs-ci", - "type": "github" - } - }, - "emacs-release-snapshot": { - "flake": false, - "locked": { - "lastModified": 1702796831, - "narHash": "sha256-2rX+QbMUdDC7DWOK5CVhqcUh1PfyesAvUgoSZ9jH6MI=", - "owner": "emacs-mirror", - "repo": "emacs", - "rev": "b6429b1c1c781655efc761e237a7ae0aa6a0d344", - "type": "github" - }, - "original": { - "owner": "emacs-mirror", - "ref": "emacs-29", - "repo": "emacs", - "type": "github" - } - }, - "emacs-snapshot": { - "flake": false, - "locked": { - "lastModified": 1702877669, - "narHash": "sha256-l2+MKgYxum2V7equFc76lTFjCi3rSFKyFt7oye4ka/k=", - "owner": "emacs-mirror", - "repo": "emacs", - "rev": "14504fca8b5589c5c80a69dcab6e02681b196fa1", - "type": "github" - }, - "original": { - "owner": "emacs-mirror", - "repo": "emacs", - "type": "github" - } - }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1687709756, - "narHash": "sha256-Y5wKlQSkgEK2weWdOu4J3riRd+kV/VCgHsqLNTTWQ/0=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7", - "type": "github" - }, - "original": { - "id": "flake-utils", - "type": "indirect" - } - }, - "flake-utils_2": { - "inputs": { - "systems": "systems_2" - }, - "locked": { - "lastModified": 1701680307, - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", - "type": "github" - }, - "original": { - "id": "flake-utils", - "type": "indirect" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1698553279, - "narHash": "sha256-T/9P8yBSLcqo/v+FTOBK+0rjzjPMctVymZydbvR/Fak=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "90e85bc7c1a6fc0760a94ace129d3a1c61c3d035", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixpkgs-unstable", - "type": "indirect" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1704008649, - "narHash": "sha256-rGPSWjXTXTurQN9beuHdyJhB8O761w1Zc5BqSSmHvoM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "d44d59d2b5bd694cd9d996fd8c51d03e3e9ba7f7", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, - "root": { - "inputs": { - "emacs-ci": "emacs-ci", - "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs_2" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 5d856db..0000000 --- a/flake.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ - nixConfig = { - extra-substituters = [ - "https://emacs-ci.cachix.org" - ]; - extra-trusted-public-keys = [ - "emacs-ci.cachix.org-1:B5FVOrxhXXrOL0S+tQ7USrhjMT5iOPH+QN9q0NItom4=" - ]; - }; - - inputs.emacs-ci.url = "github:purcell/nix-emacs-ci"; - - outputs = { - nixpkgs, - emacs-ci, - flake-utils, - ... - }: let - in - flake-utils.lib.eachDefaultSystem - (system: let - pkgs = nixpkgs.legacyPackages.${system}; - - emacsCIWith = emacs: - (pkgs.emacs.pkgs.overrideScope' - (_: _: { - inherit emacs; - })) - .withPackages (epkgs: [ - (epkgs.treesit-grammars.with-grammars (grammars: [grammars.tree-sitter-php])) - ]); - - makeEmacsShell = emacs: - pkgs.mkShell { - buildInputs = [ - (emacsCIWith emacs) - ]; - }; - in { - devShells.emacs-snapshot = - makeEmacsShell emacs-ci.packages.${system}.emacs-snapshot; - devShells.emacs-release-snapshot = - makeEmacsShell emacs-ci.packages.${system}.emacs-release-snapshot; - devShells.emacs-29-1 = makeEmacsShell emacs-ci.packages.${system}.emacs-29-1; - }); -}