Skip to content

j nix package#447

Merged
HexF merged 1 commit into
engineer-man:nix-packagesfrom
scpchicken:nix-cool
Jun 2, 2022
Merged

j nix package#447
HexF merged 1 commit into
engineer-man:nix-packagesfrom
scpchicken:nix-cool

Conversation

@scpchicken
Copy link
Copy Markdown
Contributor

ok i think chose the right branch this time

@scpchicken scpchicken force-pushed the nix-cool branch 3 times, most recently from 16379f0 to 9c761bf Compare February 20, 2022 21:04
@scpchicken
Copy link
Copy Markdown
Contributor Author

does someone know how to make more tests?

Comment thread runtimes/j.nix
stdin = "";
packages = [];
main = "test.ijs";
})
Copy link
Copy Markdown
Collaborator

@HexF HexF Feb 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
})
})
(piston.mkTest {
files = {
"test.ijs" = ''
echo'OK'
'';
};
args = [];
stdin = "";
packages = [];
main = "test.ijs";
})

You can add more tests like this

@HexF HexF marked this pull request as draft February 24, 2022 05:21
Comment thread runtimes/j.nix Outdated
#
# No shebang needs to be added to this - that is done automatically.
# compile = ''
# ${pkg}/bin/j --compile "$@"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If compiling is supported, I would rather we use it.

Comment thread runtimes/j.nix Outdated
Comment on lines +18 to +21
# Put extensions in here, and other common names
# Example:
# "js"
# "node-javascript"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these comments can be removed, as can all the others from the scaffold.

@scpchicken scpchicken marked this pull request as ready for review June 2, 2022 01:53
@HexF HexF merged commit adf4136 into engineer-man:nix-packages Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants