Created
September 30, 2024 14:39
-
-
Save pmarreck/b3de701b61ae44720cbbb65dcaf65885 to your computer and use it in GitHub Desktop.
Roc playground nix file for repl.it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# note: does not currently work? | |
{ pkgs ? import <nixpkgs> { } }: | |
let | |
rocPkgs = pkgs.fetchFromGitHub { | |
owner = "roc-lang"; | |
repo = "roc"; | |
rev = "main"; # Change to a specific commit or tag for stability | |
sha256 = "sha256-11yw9xh1719smxbp0ia03kkv6hrvw4l6hhvxjxa4w2i7wc2r6yqy"; # You can fetch the sha256 from `nix-prefetch-url` | |
}; | |
roc = import (rocPkgs + "/packages") { inherit pkgs; }; | |
in | |
{ | |
deps = [ | |
roc.cli | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment