-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape things by default in derivation names (i.e. digit cannot be the first character etc.) Update Quicklisp (tracking upstream); list new missing dependencies Add some minimal README about ql-to-nix
- Loading branch information
Showing
176 changed files
with
1,938 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Prerequisite: have Quicklisp installed somehow. | ||
|
||
Add to LD_LIBRARY_PATH all the things listed in quicklisp-to-nix-overrides.nix | ||
for library propagatedBuildInputs (a lot of these are done via addNativeLibs). | ||
|
||
Current list is: | ||
openssl fuse libuv mariadb libfixposix libev sqlite | ||
|
||
Add the needed system names to quicklisp-to-nix-systems.txt and load | ||
quicklisp-to-nix/ql-to-nix.lisp and call | ||
(ql-to-nix "/path/to/nixpkgs/pkgs/development/lisp-modules/") which is often | ||
just (ql-to-nix ".") | ||
|
||
Add native libraries and whatever else is needed to overrides. | ||
|
||
The lispPackages set is supposed to be buildable in its entirety. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
pkgs/development/lisp-modules/quicklisp-to-nix-output/abnf.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
args @ { fetchurl, ... }: | ||
rec { | ||
baseName = ''abnf''; | ||
version = ''cl-20150608-git''; | ||
|
||
description = ''ABNF Parser Generator, per RFC2234''; | ||
|
||
deps = [ args."cl-ppcre" args."esrap" ]; | ||
|
||
src = fetchurl { | ||
url = ''http://beta.quicklisp.org/archive/cl-abnf/2015-06-08/cl-abnf-20150608-git.tgz''; | ||
sha256 = ''00x95h7v5q7azvr9wrpcfcwsq3sdipjr1hgq9a9lbimp8gfbz687''; | ||
}; | ||
|
||
packageName = "abnf"; | ||
|
||
overrides = x: { | ||
postInstall = '' | ||
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/abnf[.]asd${"$"}' | | ||
while read f; do | ||
env -i \ | ||
NIX_LISP="$NIX_LISP" \ | ||
NIX_LISP_PRELAUNCH_HOOK="nix_lisp_run_single_form '(progn | ||
(asdf:load-system :$(basename "$f" .asd)) | ||
(asdf:perform (quote asdf:compile-bundle-op) :$(basename "$f" .asd)) | ||
(ignore-errors (asdf:perform (quote asdf:deliver-asd-op) :$(basename "$f" .asd))) | ||
)'" \ | ||
"$out"/bin/*-lisp-launcher.sh || | ||
mv "$f"{,.sibling}; done || true | ||
''; | ||
}; | ||
} | ||
/* (SYSTEM abnf DESCRIPTION ABNF Parser Generator, per RFC2234 SHA256 00x95h7v5q7azvr9wrpcfcwsq3sdipjr1hgq9a9lbimp8gfbz687 URL | ||
http://beta.quicklisp.org/archive/cl-abnf/2015-06-08/cl-abnf-20150608-git.tgz MD5 311c2b17e49666dac1c2bb45256be708 NAME abnf TESTNAME NIL FILENAME abnf | ||
DEPS ((NAME cl-ppcre FILENAME cl-ppcre) (NAME esrap FILENAME esrap)) DEPENDENCIES (cl-ppcre esrap) VERSION cl-20150608-git SIBLINGS NIL) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
pkgs/development/lisp-modules/quicklisp-to-nix-output/asdf-system-connections.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
args @ { fetchurl, ... }: | ||
rec { | ||
baseName = ''asdf-system-connections''; | ||
version = ''20170124-git''; | ||
|
||
description = ''Allows for ASDF system to be connected so that auto-loading may occur.''; | ||
|
||
deps = [ ]; | ||
|
||
src = fetchurl { | ||
url = ''http://beta.quicklisp.org/archive/asdf-system-connections/2017-01-24/asdf-system-connections-20170124-git.tgz''; | ||
sha256 = ''0h8237bq3niw6glcsps77n1ykcmc5bjkcrbjyxjgkmcb1c5kwwpq''; | ||
}; | ||
|
||
packageName = "asdf-system-connections"; | ||
|
||
overrides = x: { | ||
postInstall = '' | ||
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/asdf-system-connections[.]asd${"$"}' | | ||
while read f; do | ||
env -i \ | ||
NIX_LISP="$NIX_LISP" \ | ||
NIX_LISP_PRELAUNCH_HOOK="nix_lisp_run_single_form '(progn | ||
(asdf:load-system :$(basename "$f" .asd)) | ||
(asdf:perform (quote asdf:compile-bundle-op) :$(basename "$f" .asd)) | ||
(ignore-errors (asdf:perform (quote asdf:deliver-asd-op) :$(basename "$f" .asd))) | ||
)'" \ | ||
"$out"/bin/*-lisp-launcher.sh || | ||
mv "$f"{,.sibling}; done || true | ||
''; | ||
}; | ||
} | ||
/* (SYSTEM asdf-system-connections DESCRIPTION Allows for ASDF system to be connected so that auto-loading may occur. SHA256 | ||
0h8237bq3niw6glcsps77n1ykcmc5bjkcrbjyxjgkmcb1c5kwwpq URL | ||
http://beta.quicklisp.org/archive/asdf-system-connections/2017-01-24/asdf-system-connections-20170124-git.tgz MD5 23bdbb69c433568e3e15ed705b803992 NAME | ||
asdf-system-connections TESTNAME NIL FILENAME asdf-system-connections DEPS NIL DEPENDENCIES NIL VERSION 20170124-git SIBLINGS NIL) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.