summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2022-11-15 22:18:26 +0100
committerMike Vink <mike1994vink@gmail.com>2022-11-15 22:18:26 +0100
commited339965dd0cde575bac951d8db8736c2839fe6c (patch)
treee135031399c51678132b8a504056da27d4b3cca6 /flake.nix
setup basic racket environment
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix24
1 files changed, 24 insertions, 0 deletions
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
+ ];
+ };
+ }));
+}