]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - flake.nix
feat: support basic XTM topic names (slice 21D)
[topic-maps.git] / flake.nix
index bff6f5138e9df0a503ffc93eaa5dd57392913500..fbcd2beaa3ed75e3770e1dee7fe5493511d4f137 100644 (file)
--- a/flake.nix
+++ b/flake.nix
       # use the existing SBCL 2.5.4 without changing this Nixpkgs pin.
       packages = pkgs.lib.unique (visit pkgs.sbclPackages.cxml);
     in {
       # use the existing SBCL 2.5.4 without changing this Nixpkgs pin.
       packages = pkgs.lib.unique (visit pkgs.sbclPackages.cxml);
     in {
+      # This registry names pristine sources. prepare-cxml.py applies the
+      # following versioned patches to a separate copy before qualification/use.
+      patchProfile = "19d0b-1";
+      localPatches = map (name: {
+        package = name;
+        file = "patches/${name}-19d0b.patch";
+        sha256 = builtins.hashFile "sha256" (./patches + "/${name}-19d0b.patch");
+      }) [ "closure-common" "cxml" ];
       sourceRegistry = "(:source-registry " +
         pkgs.lib.concatMapStringsSep " "
           (package: "(:tree \"${package.src}/\")") packages +
       sourceRegistry = "(:source-registry " +
         pkgs.lib.concatMapStringsSep " "
           (package: "(:tree \"${package.src}/\")") packages +