diff options
| -rw-r--r-- | flake.lock | 43 | ||||
| -rw-r--r-- | flake.nix | 24 | ||||
| -rw-r--r-- | test.rkt | 7 |
3 files changed, 74 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..2133be8 --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1668326430, + "narHash": "sha256-fJEsHe+lzFf3qcQVTTdK9jqRtUUVXH71tdfgjcKJNpA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "fc07622617a373a742ed96d4dd536849d4bc1ec6", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..414ee15 --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + description = "Application packaged using poetry2nix"; + + inputs.flake-utils.url = "github:numtide/flake-utils"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + + outputs = { + self, + nixpkgs, + flake-utils, + }: (flake-utils.lib.eachDefaultSystem (system: let + pkgs = import nixpkgs { + inherit system; + overlays = []; + }; + in { + devShell = pkgs.mkShell { + buildInputs = with pkgs; [ + mitscheme + racket + ]; + }; + })); +} diff --git a/test.rkt b/test.rkt new file mode 100644 index 0000000..207ae6a --- /dev/null +++ b/test.rkt @@ -0,0 +1,7 @@ +#lang sicp +(inc 487) +nil + +the-empty-stream + +(runtime) |
