Add ERPNext
ERPNext is many things that Clicks wants. In particular, we're interested
in task tracking and ticketing. Thanks to Frappix by blaggacao, it's not
even too challenging to install on nix anymore!
We'll be using the domain frappe.clicks.codes (rather than
erpnext.clicks.codes) because we would like to be able to install more
frappe apps on the same site without it seeming weird. We will, however,
make the domain redirect to give a nicer way to remember this.
Change-Id: I418d172c5de2b6d6918e1c5f55c7f1d6e1faa2ec
Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/535
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/flake.lock b/flake.lock
index abec631..d257bcd 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,35 @@
{
"nodes": {
+ "blank": {
+ "locked": {
+ "lastModified": 1625557891,
+ "narHash": "sha256-O8/MWsPBGhhyPoPLHZAuoZiiHo9q6FLlEeIDEXuj6T4=",
+ "owner": "divnix",
+ "repo": "blank",
+ "rev": "5a5d2684073d9f563072ed07c871d577a6c614a8",
+ "type": "github"
+ },
+ "original": {
+ "owner": "divnix",
+ "repo": "blank",
+ "type": "github"
+ }
+ },
+ "call-flake": {
+ "locked": {
+ "lastModified": 1687380775,
+ "narHash": "sha256-bmhE1TmrJG4ba93l9WQTLuYM53kwGQAjYHRvHOeuxWU=",
+ "owner": "divnix",
+ "repo": "call-flake",
+ "rev": "74061f6c241227cd05e79b702db9a300a2e4131a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "divnix",
+ "repo": "call-flake",
+ "type": "github"
+ }
+ },
"deploy-rs": {
"inputs": {
"flake-compat": "flake-compat",
@@ -20,6 +50,61 @@
"type": "github"
}
},
+ "devshell": {
+ "inputs": {
+ "flake-utils": "flake-utils_2",
+ "nixpkgs": [
+ "frappix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1705332421,
+ "narHash": "sha256-USpGLPme1IuqG78JNqSaRabilwkCyHmVWY0M9vYyqEA=",
+ "owner": "numtide",
+ "repo": "devshell",
+ "rev": "83cb93d6d063ad290beee669f4badf9914cc16ec",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "devshell",
+ "type": "github"
+ }
+ },
+ "dmerge": {
+ "inputs": {
+ "haumea": [
+ "frappix",
+ "std",
+ "haumea"
+ ],
+ "nixlib": [
+ "frappix",
+ "std",
+ "lib"
+ ],
+ "yants": [
+ "frappix",
+ "std",
+ "yants"
+ ]
+ },
+ "locked": {
+ "lastModified": 1686862774,
+ "narHash": "sha256-ojGtRQ9pIOUrxsQEuEPerUkqIJEuod9hIflfNkY+9CE=",
+ "owner": "divnix",
+ "repo": "dmerge",
+ "rev": "9f7f7a8349d33d7bd02e0f2b484b1f076e503a96",
+ "type": "github"
+ },
+ "original": {
+ "owner": "divnix",
+ "ref": "0.2.1",
+ "repo": "dmerge",
+ "type": "github"
+ }
+ },
"flake-compat": {
"flake": false,
"locked": {
@@ -54,6 +139,81 @@
"type": "github"
}
},
+ "flake-utils_2": {
+ "inputs": {
+ "systems": "systems_3"
+ },
+ "locked": {
+ "lastModified": 1701680307,
+ "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "flake-utils_3": {
+ "inputs": {
+ "systems": "systems_4"
+ },
+ "locked": {
+ "lastModified": 1705309234,
+ "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "flake-utils_4": {
+ "locked": {
+ "lastModified": 1653893745,
+ "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "frappix": {
+ "inputs": {
+ "devshell": "devshell",
+ "microvm": "microvm",
+ "nixago": "nixago",
+ "nixpkgs": [
+ "nixpkgs"
+ ],
+ "std": "std"
+ },
+ "locked": {
+ "lastModified": 1709913632,
+ "narHash": "sha256-6L95O5+HmEyh6snWXCm5AHFLmoYUFc9/00Ep2Vt1V4g=",
+ "owner": "blaggacao",
+ "repo": "frappix",
+ "rev": "c489f6d004d55bb1f4610888269d89846774c842",
+ "type": "github"
+ },
+ "original": {
+ "owner": "blaggacao",
+ "repo": "frappix",
+ "type": "github"
+ }
+ },
"gerrit-oauth": {
"flake": false,
"locked": {
@@ -66,6 +226,29 @@
"url": "https://gerrit-ci.gerritforge.com/job/plugin-oauth-bazel-master-master/lastBuild/artifact/bazel-bin/plugins/oauth/oauth.jar"
}
},
+ "haumea": {
+ "inputs": {
+ "nixpkgs": [
+ "frappix",
+ "std",
+ "lib"
+ ]
+ },
+ "locked": {
+ "lastModified": 1685133229,
+ "narHash": "sha256-FePm/Gi9PBSNwiDFq3N+DWdfxFq0UKsVVTJS3cQPn94=",
+ "owner": "nix-community",
+ "repo": "haumea",
+ "rev": "34dd58385092a23018748b50f9b23de6266dffc2",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "ref": "v0.2.2",
+ "repo": "haumea",
+ "type": "github"
+ }
+ },
"helpers": {
"inputs": {
"nixpkgs": "nixpkgs_2"
@@ -105,6 +288,91 @@
"type": "github"
}
},
+ "incl": {
+ "inputs": {
+ "nixlib": [
+ "frappix",
+ "std",
+ "lib"
+ ]
+ },
+ "locked": {
+ "lastModified": 1669263024,
+ "narHash": "sha256-E/+23NKtxAqYG/0ydYgxlgarKnxmDbg6rCMWnOBqn9Q=",
+ "owner": "divnix",
+ "repo": "incl",
+ "rev": "ce7bebaee048e4cd7ebdb4cee7885e00c4e2abca",
+ "type": "github"
+ },
+ "original": {
+ "owner": "divnix",
+ "repo": "incl",
+ "type": "github"
+ }
+ },
+ "lib": {
+ "locked": {
+ "lastModified": 1694306727,
+ "narHash": "sha256-26fkTOJOI65NOTNKFvtcJF9mzzf/kK9swHzfYt1Dl6Q=",
+ "owner": "nix-community",
+ "repo": "nixpkgs.lib",
+ "rev": "c30b6a84c0b84ec7aecbe74466033facc9ed103f",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nixpkgs.lib",
+ "type": "github"
+ }
+ },
+ "microvm": {
+ "inputs": {
+ "flake-utils": "flake-utils_3",
+ "nixpkgs": [
+ "frappix",
+ "nixpkgs"
+ ],
+ "spectrum": "spectrum"
+ },
+ "locked": {
+ "lastModified": 1708617817,
+ "narHash": "sha256-7zbgJ3Pzen8V3SS3yemo7hiua2gzP/gmIM8Of1t4c7M=",
+ "owner": "astro",
+ "repo": "microvm.nix",
+ "rev": "5544916016482c91874b0b25fd069a6e041c2715",
+ "type": "github"
+ },
+ "original": {
+ "owner": "astro",
+ "repo": "microvm.nix",
+ "type": "github"
+ }
+ },
+ "nixago": {
+ "inputs": {
+ "flake-utils": "flake-utils_4",
+ "nixago-exts": [
+ "frappix"
+ ],
+ "nixpkgs": [
+ "frappix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1687381756,
+ "narHash": "sha256-IUMIlYfrvj7Yli4H2vvyig8HEPpfCeMaE6+kBGPzFyk=",
+ "owner": "nix-community",
+ "repo": "nixago",
+ "rev": "dacceb10cace103b3e66552ec9719fa0d33c0dc9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nixago",
+ "type": "github"
+ }
+ },
"nixpkgs": {
"locked": {
"lastModified": 1702272962,
@@ -215,10 +483,73 @@
"type": "github"
}
},
+ "nosys": {
+ "locked": {
+ "lastModified": 1668010795,
+ "narHash": "sha256-JBDVBnos8g0toU7EhIIqQ1If5m/nyBqtHhL3sicdPwI=",
+ "owner": "divnix",
+ "repo": "nosys",
+ "rev": "feade0141487801c71ff55623b421ed535dbdefa",
+ "type": "github"
+ },
+ "original": {
+ "owner": "divnix",
+ "repo": "nosys",
+ "type": "github"
+ }
+ },
+ "paisano": {
+ "inputs": {
+ "call-flake": "call-flake",
+ "nixpkgs": [
+ "frappix",
+ "std",
+ "nixpkgs"
+ ],
+ "nosys": "nosys",
+ "yants": [
+ "frappix",
+ "std",
+ "yants"
+ ]
+ },
+ "locked": {
+ "lastModified": 1708640854,
+ "narHash": "sha256-EpcAmvIS4ErqhXtVEfd2GPpU/E/s8CCRSfYzk6FZ/fY=",
+ "owner": "paisano-nix",
+ "repo": "core",
+ "rev": "adcf742bc9463c08764ca9e6955bd5e7dcf3a3fe",
+ "type": "github"
+ },
+ "original": {
+ "owner": "paisano-nix",
+ "ref": "0.2.0",
+ "repo": "core",
+ "type": "github"
+ }
+ },
+ "paisano-tui": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1708637035,
+ "narHash": "sha256-R19YURSK+MY/Rw6FZnojQS9zuDh+OoTAyngQAjjoubc=",
+ "owner": "paisano-nix",
+ "repo": "tui",
+ "rev": "231761b260587a64817e4ffae3afc15defaa15db",
+ "type": "github"
+ },
+ "original": {
+ "owner": "paisano-nix",
+ "ref": "v0.5.0",
+ "repo": "tui",
+ "type": "github"
+ }
+ },
"root": {
"inputs": {
"deploy-rs": "deploy-rs",
"flake-utils": "flake-utils",
+ "frappix": "frappix",
"gerrit-oauth": "gerrit-oauth",
"helpers": "helpers",
"home-manager": "home-manager",
@@ -274,6 +605,84 @@
"type": "github"
}
},
+ "spectrum": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1708358594,
+ "narHash": "sha256-e71YOotu2FYA67HoC/voJDTFsiPpZNRwmiQb4f94OxQ=",
+ "ref": "refs/heads/main",
+ "rev": "6d0e73864d28794cdbd26ab7b37259ab0e1e044c",
+ "revCount": 614,
+ "type": "git",
+ "url": "https://spectrum-os.org/git/spectrum"
+ },
+ "original": {
+ "type": "git",
+ "url": "https://spectrum-os.org/git/spectrum"
+ }
+ },
+ "std": {
+ "inputs": {
+ "arion": [
+ "frappix",
+ "std",
+ "blank"
+ ],
+ "blank": "blank",
+ "devshell": [
+ "frappix",
+ "devshell"
+ ],
+ "dmerge": "dmerge",
+ "haumea": "haumea",
+ "incl": "incl",
+ "lib": "lib",
+ "makes": [
+ "frappix",
+ "std",
+ "blank"
+ ],
+ "microvm": [
+ "frappix",
+ "microvm"
+ ],
+ "n2c": [
+ "frappix",
+ "std",
+ "blank"
+ ],
+ "nixago": [
+ "frappix",
+ "nixago"
+ ],
+ "nixpkgs": [
+ "frappix",
+ "nixpkgs"
+ ],
+ "paisano": "paisano",
+ "paisano-tui": "paisano-tui",
+ "terranix": [
+ "frappix",
+ "std",
+ "blank"
+ ],
+ "yants": "yants"
+ },
+ "locked": {
+ "lastModified": 1708642374,
+ "narHash": "sha256-A6CuQML2jqg3T7KcP9wx0o9WiCtc28Owq1AiD7sNl20=",
+ "owner": "divnix",
+ "repo": "std",
+ "rev": "9f1f2d04fc938f73c0c4a5d00d3043ae5afdf81d",
+ "type": "github"
+ },
+ "original": {
+ "owner": "divnix",
+ "ref": "v0.33.0",
+ "repo": "std",
+ "type": "github"
+ }
+ },
"systems": {
"locked": {
"lastModified": 1681028828,
@@ -304,6 +713,36 @@
"type": "github"
}
},
+ "systems_3": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
+ "systems_4": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
"utils": {
"inputs": {
"systems": "systems"
@@ -321,6 +760,28 @@
"repo": "flake-utils",
"type": "github"
}
+ },
+ "yants": {
+ "inputs": {
+ "nixpkgs": [
+ "frappix",
+ "std",
+ "lib"
+ ]
+ },
+ "locked": {
+ "lastModified": 1686863218,
+ "narHash": "sha256-kooxYm3/3ornWtVBNHM3Zh020gACUyFX2G0VQXnB+mk=",
+ "owner": "divnix",
+ "repo": "yants",
+ "rev": "8f0da0dba57149676aa4817ec0c880fbde7a648d",
+ "type": "github"
+ },
+ "original": {
+ "owner": "divnix",
+ "repo": "yants",
+ "type": "github"
+ }
}
},
"root": "root",