migrate racket to nix

This commit is contained in:
Dan Vargas 2022-02-06 19:25:23 -07:00
parent 54510b713e
commit f16eb5fa42
7 changed files with 62 additions and 26 deletions

View file

@ -1,10 +0,0 @@
#!/usr/bin/env bash
# curl racket 8.3 linux installation shell file
curl -L 'https://download.racket-lang.org/installers/8.3/racket-8.3-x86_64-linux-cs.sh' -o racket.sh
# provide settings "no" "4" and "<CR>" to racket.sh
echo "no
4
" | sh racket.sh

View file

@ -1,5 +0,0 @@
#!/bin/bash
# Path to racket binary
export PATH=$PWD/bin:$PATH
export RACKET_PATH=$PWD/racket

View file

@ -1,5 +0,0 @@
{
"language": "racket",
"version": "8.3.0",
"aliases": ["rkt"]
}

View file

@ -1,3 +0,0 @@
#!/bin/bash
"$RACKET_PATH"/bin/racket "$@"

View file

@ -1,3 +0,0 @@
#lang racket
(display "OK")