diff options
author | Hraban Luyat <hraban@0brg.net> | 2023-10-15 17:11:10 -0400 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-10-16 01:45:05 -0300 |
commit | b64a221abf3c4d01fd926d80bbb266327e1ac45a (patch) | |
tree | 38d37f568019414899efdd13cf6a9fbcdd1d6c9b /pkgs/development/interpreters | |
parent | e32293d545f4cb84313e0b0da1281ae00d9a06dc (diff) | |
download | nixlib-b64a221abf3c4d01fd926d80bbb266327e1ac45a.tar nixlib-b64a221abf3c4d01fd926d80bbb266327e1ac45a.tar.gz nixlib-b64a221abf3c4d01fd926d80bbb266327e1ac45a.tar.bz2 nixlib-b64a221abf3c4d01fd926d80bbb266327e1ac45a.tar.lz nixlib-b64a221abf3c4d01fd926d80bbb266327e1ac45a.tar.xz nixlib-b64a221abf3c4d01fd926d80bbb266327e1ac45a.tar.zst nixlib-b64a221abf3c4d01fd926d80bbb266327e1ac45a.zip |
clisp: enable ASDF module
This is useful and expected by most downstream packages
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/clisp/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/clisp/default.nix b/pkgs/development/interpreters/clisp/default.nix index ac6257164cb7..14b436375420 100644 --- a/pkgs/development/interpreters/clisp/default.nix +++ b/pkgs/development/interpreters/clisp/default.nix @@ -29,6 +29,7 @@ , x11Support ? (stdenv.hostPlatform.isx86 && ! stdenv.hostPlatform.isDarwin) , dllSupport ? true , withModules ? [ + "asdf" "pcre" "rawsock" ] @@ -41,6 +42,8 @@ assert x11Support -> (libX11 != null && libXau != null && libXt != null let ffcallAvailable = stdenv.isLinux && (libffcall != null); + # Some modules need autoreconf called in their directory. + shouldReconfModule = name: name != "asdf"; in stdenv.mkDerivation { @@ -92,7 +95,7 @@ stdenv.mkDerivation { cd modules/${x} autoreconf -f -i -I "$root/src" -I "$root/src/m4" -I "$root/src/glm4" ) - '') withModules); + '') (builtins.filter shouldReconfModule withModules)); configureFlags = [ "builddir" ] ++ lib.optional (!dllSupport) "--without-dynamic-modules" |