This commit is contained in:
Smaug123
2023-10-01 09:46:45 +01:00
parent 4f1d916674
commit f2f8daf1ac
7 changed files with 1599 additions and 0 deletions

2
.gitignore vendored
View File

@@ -44,3 +44,5 @@ website/.yarn/*
fonts.tar fonts.tar
fonts.tar.gz fonts.tar.gz
temp/ temp/
/result

1
.yarn/plugins/yarn-plugin-nixify.cjs vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1 +1,5 @@
plugins:
- path: .yarn/plugins/yarn-plugin-nixify.cjs
spec: "https://raw.githubusercontent.com/stephank/yarn-plugin-nixify/main/dist/yarn-plugin-nixify.js"
yarnPath: .yarn/releases/yarn-3.2.2.cjs yarnPath: .yarn/releases/yarn-3.2.2.cjs

6
default.nix Normal file
View File

@@ -0,0 +1,6 @@
# This is a minimal `default.nix` by yarn-plugin-nixify. You can customize it
# as needed, it will not be overwritten by the plugin.
{ pkgs ? import <nixpkgs> { } }:
pkgs.callPackage ./yarn-project.nix { } { src = ./.; }

61
flake.lock generated Normal file
View File

@@ -0,0 +1,61 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1688392541,
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-22.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
},
"systems": {
"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
}

18
flake.nix Normal file
View File

@@ -0,0 +1,18 @@
{
description = "KaTeX flake";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs//nixos-22.11";
};
outputs = {
self,
nixpkgs,
flake-utils,
}: flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
packages.default = (import ./default.nix) { inherit pkgs; };
}
);
}

1507
yarn-project.nix Normal file

File diff suppressed because it is too large Load Diff