refactor(third_party/lisp): Amend alexandria drv for local sources
This commit is contained in:
parent
0a9a569534
commit
807445a10b
2 changed files with 28 additions and 32 deletions
32
third_party/lisp/alexandria.nix
vendored
32
third_party/lisp/alexandria.nix
vendored
|
@ -1,32 +0,0 @@
|
|||
# Alexandria is one of the foundational Common Lisp libraries that
|
||||
# pretty much everything depends on:
|
||||
#
|
||||
# https://common-lisp.net/project/alexandria/
|
||||
{ pkgs, ... }:
|
||||
|
||||
let src = builtins.fetchGit {
|
||||
url = "https://gitlab.common-lisp.net/alexandria/alexandria";
|
||||
rev = "1224346a48770dc07a68ef3e612b9ac3d611eb07";
|
||||
};
|
||||
in pkgs.nix.buildLisp.library {
|
||||
name = "alexandria";
|
||||
srcs = map (f: src + ("/" + f)) [
|
||||
"package.lisp"
|
||||
"definitions.lisp"
|
||||
"binding.lisp"
|
||||
"strings.lisp"
|
||||
"conditions.lisp"
|
||||
"symbols.lisp"
|
||||
"macros.lisp"
|
||||
"functions.lisp"
|
||||
"io.lisp"
|
||||
"hash-tables.lisp"
|
||||
"control-flow.lisp"
|
||||
"lists.lisp"
|
||||
"types.lisp"
|
||||
"arrays.lisp"
|
||||
"sequences.lisp"
|
||||
"numbers.lisp"
|
||||
"features.lisp"
|
||||
];
|
||||
}
|
28
third_party/lisp/alexandria/default.nix
vendored
Normal file
28
third_party/lisp/alexandria/default.nix
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Alexandria is one of the foundational Common Lisp libraries that
|
||||
# pretty much everything depends on:
|
||||
#
|
||||
# Imported from https://common-lisp.net/project/alexandria/
|
||||
{ pkgs, ... }:
|
||||
|
||||
pkgs.nix.buildLisp.library {
|
||||
name = "alexandria";
|
||||
srcs = [
|
||||
./package.lisp
|
||||
./definitions.lisp
|
||||
./binding.lisp
|
||||
./strings.lisp
|
||||
./conditions.lisp
|
||||
./symbols.lisp
|
||||
./macros.lisp
|
||||
./functions.lisp
|
||||
./io.lisp
|
||||
./hash-tables.lisp
|
||||
./control-flow.lisp
|
||||
./lists.lisp
|
||||
./types.lisp
|
||||
./arrays.lisp
|
||||
./sequences.lisp
|
||||
./numbers.lisp
|
||||
./features.lisp
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue