Merge pull request #23 from leifhelm/opencl-mode

opencl-mode was renamed to opencl-c-mode in nixpkgs-unstable
This commit is contained in:
marienz 2024-08-01 21:53:27 +10:00 committed by GitHub
commit 847916b3bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,12 +185,7 @@
# Upstream renamed from opencl-mode to opencl-c-mode. melpa2nix requires single-file-package file
# names match the package name. So rename the package (not the file, just in case someone loads it
# explicitly).
opencl-mode = esuper.opencl-mode.overrideAttrs (attrs: {
ename = "opencl-c-mode";
recipe = writeText "opencl-c-mode-recipe" (
lib.replaceStrings ["(opencl-mode"] ["(opencl-c-mode"] (
lib.readFile attrs.recipe));
});
opencl-mode = esuper.opencl-c-mode;
# reveal.js is not actually an ELisp package. Doom gets straight.el to install it,
# then makes org-re-reveal use it as data.
revealjs = stdenvNoCC.mkDerivation {