Skip to content

Commit 75a542f

Browse files
committed
Running examples on Replit.com with Nix and Cabal
1 parent eee95a6 commit 75a542f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.replit

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
modules = ["haskell-ghc9.4", "python-3.12"]
2+
run = "ls"
3+
4+
[nix]
5+
channel = "stable-24_05"
6+
7+
[deployment]
8+
run = ["sh", "-c", "ls"]

replit.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{pkgs}: {
2+
deps = [
3+
pkgs.cabal-install
4+
pkgs.stack
5+
pkgs.zlib.dev
6+
];
7+
}

0 commit comments

Comments
 (0)