New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dale: init at 20170416 #24941
dale: init at 20170416 #24941
Conversation
|
||
postBuild = if with_tests then "make tests" else ""; | ||
|
||
with_tests = false; # 'cause failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have already doCheck
and checkPhase
for this purpose.
src = fetchFromGitHub { | ||
owner = "tomhrr"; | ||
repo = "dale"; | ||
rev = "9340841001425a4c0fc2dcccf77b356eccee6afb"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version does not match revision chosen here.
505709f
to
e9c261c
Compare
buildInputs = [ cmake libffi llvm_35 ] ++ | ||
stdenv.lib.optional doCheck perl; | ||
|
||
prePatch = ''substituteInPlace ./t/src/include-test.dt --replace include-test-2.dt \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: please format like this
let # ignore this
foo = ''
lorem ipsum
''
|
||
meta = with stdenv.lib; { | ||
description = "Lisp-flavoured C"; | ||
longDescription = "Dale is a system (no GC) programming language that uses S-expressions for syntax and supports syntactic macros"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: please use an indented string for the longDescription
.
Lisp-flavoured C. Dale is a system (no GC) programming language that uses S-expressions for syntax and supports syntactic macros.
Regarding the Darwin port, here is an excerpt from the CI log, in case someone can make any sense out of it:
On the other hand, it may be due to a more "global" issue. Supposedly with LLVM. |
Lisp-flavoured C. Dale is a system (no GC) programming language
that uses S-expressions for syntax and supports syntactic macros.
Motivation for this change
To play with an interesting experimental, but having the potential
to be quite useful, programming language.
https://github.com/tomhrr/dale
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)