Initial commit

This commit is contained in:
puck 2024-10-03 23:57:22 +00:00
commit 55a1efa08f
60 changed files with 5485 additions and 0 deletions

22
lang/go/default.nix Normal file
View file

@ -0,0 +1,22 @@
{ chickenPackages, libsodium, callPackage, xxd }:
(callPackage ../../lib/build-chicken-parallel {}) {
name = "zilch-lang-go";
src = ./.;
buildInputs = with chickenPackages.chickenEggs; [
chickenPackages.chicken
r7rs
json
srfi-152
srfi-207
(callPackage ../../core {})
xxd
];
overrides.preBuild = ''
(cat utils/parser/main.go; printf '\0') | xxd -i -n parser_source > parser_source.h
(cat utils/dirhash/main.go; printf '\0') | xxd -i -n dirhash_source > dirhash_source.h
(cat utils/unzip-one/main.go; printf '\0') | xxd -i -n unzip_one_source > unzip_one_source.h
'';
}