diff options
author | Vincent Ambo <mail@tazj.in> | 2021-12-14T21·32+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-12-15T10·34+0000 |
commit | e9bfa84aafc65896e2fffead2f1ef4853bdd59af (patch) | |
tree | 711bd7c6aa289a7175c635c8866e75c85287ab45 /third_party/lisp/postmodern.nix | |
parent | b0614b5c83ae62672cb036bebb6ce12675aa3074 (diff) |
refactor(3p/lisp): Use sources from nixpkgs where possible r/3246
nixpkgs includes a lispPackages set which is generated from something. In the meantime, we pretty much never update our Lisp deps. This commit ties our sources to nixpkgs.lispPackages where the desired package is included in nixpkgs (which is actually most of them!) Change-Id: I520a006535980271b2fa4e0ed4e34029475dcbef Reviewed-on: https://cl.tvl.fyi/c/depot/+/4331 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'third_party/lisp/postmodern.nix')
-rw-r--r-- | third_party/lisp/postmodern.nix | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/third_party/lisp/postmodern.nix b/third_party/lisp/postmodern.nix index 333a9d9b770f..b2ea318f8a40 100644 --- a/third_party/lisp/postmodern.nix +++ b/third_party/lisp/postmodern.nix @@ -2,13 +2,7 @@ let inherit (depot.nix.buildLisp) bundled; - - src = pkgs.fetchFromGitHub { - owner = "marijnh"; - repo = "Postmodern"; - rev = "v1.32"; - sha256 = "0prwmpixcqpzqd67v77cs4zgbs73a10m6hs7q0rpv0z1qm7mqfcb"; - }; + src = with pkgs; srcOnly lispPackages.postmodern; cl-postgres = depot.nix.buildLisp.library { name = "cl-postgres"; @@ -24,13 +18,15 @@ let srcs = map (f: src + ("/cl-postgres/" + f)) [ "package.lisp" "features.lisp" + "config.lisp" + "oid.lisp" "errors.lisp" + "data-types.lisp" "sql-string.lisp" "trivial-utf-8.lisp" "strings-utf-8.lisp" "communicate.lisp" "messages.lisp" - "oid.lisp" "ieee-floats.lisp" "interpret.lisp" "saslprep.lisp" @@ -50,6 +46,7 @@ let srcs = map (f: src + ("/s-sql/" + f)) [ "package.lisp" + "config.lisp" "s-sql.lisp" ]; }; @@ -72,7 +69,9 @@ let "${src}/postmodern.asd" ] ++ (map (f: src + ("/postmodern/" + f)) [ "package.lisp" + "config.lisp" "connect.lisp" + "json-encoder.lisp" "query.lisp" "prepare.lisp" "roles.lisp" |