Skip to content
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

lambda-lisp: init at 2022-08-18 #242101

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

cafkafk
Copy link
Member

@cafkafk cafkafk commented Jul 7, 2023

Description of changes

This adds lambda-lisp, and the lambda-lisp-blc backend. Lambda lisp has several backends, this only adds the blc backend for now, as I'm unsure what the best practice is for adding multiple backends for a package like this.

I added a sources file, which is a structure copied from the djgpp package. Ideally, there would be a lambda-lisp-blc, lambda-lisp-lazyk etc., this sets the package up for that. Also, currently, a user installing lambda-lisp will get lambda-lisp-blc, which should be the best choice, as it is the default backend.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@cafkafk cafkafk force-pushed the cafkafkdev-lambda-lisp-blc branch 2 times, most recently from c693869 to efcd11b Compare October 5, 2023 04:53
@cafkafk cafkafk force-pushed the cafkafkdev-lambda-lisp-blc branch 3 times, most recently from 1bac7aa to 1d47a44 Compare October 5, 2023 05:08
@cafkafk cafkafk force-pushed the cafkafkdev-lambda-lisp-blc branch 7 times, most recently from 8448441 to 14317ea Compare October 5, 2023 06:25
install -D -t $out/bin lambda-lisp-blc
runHook postInstall
'';

Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to add some simple tests to installCheckPhase?

Copy link
Member Author

Choose a reason for hiding this comment

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

This adds lambda lisp, and the lambda-lisp-blc backend.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
@Artturin Artturin merged commit 1c3ce84 into NixOS:master Oct 5, 2023
22 checks passed
hash = "sha256-qt7vDtn9WvDoBaLESCyyscA0u74914e8ZKhLiUAN52A=";
};

flatSrc = fetchurl {
Copy link
Member

@Artturin Artturin Oct 5, 2023

Choose a reason for hiding this comment

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

Please make a issue upstream asking them to vendor the files from lambda/ or checking for their existence before wget, that way the makefile targets(ex: interpreters) could be used.

Or email justine to ask for the files to be put in a repo

@cafkafk cafkafk deleted the cafkafkdev-lambda-lisp-blc branch October 5, 2023 18:35

let
stdenv = gccStdenv;
s = import ./sources.nix { inherit fetchurl fetchFromGitHub; };
Copy link
Member

Choose a reason for hiding this comment

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

Mic92/nix-update#202 would make updating the fetchFromGitHub sources faster to update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants