Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

purs: add 0.15.0-alpha-01 #187

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ let
};

inputs = rec {
purs-0_15_0-alpha-01 = import ./purs/0.15.0-alpha-01.nix {
inherit pkgs;
};

purs-0_14_7 = import ./purs/0.14.7.nix {
inherit pkgs;
};
Expand Down
23 changes: 23 additions & 0 deletions purs/0.15-alpha-01.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ pkgs ? import <nixpkgs> { } }:

let
version = "v0.15.0-alpha-01";

src =
if pkgs.stdenv.isDarwin
then
pkgs.fetchurl
{
url = "https:/purescript/purescript/releases/download/${version}/macos.tar.gz";
sha256 = "1vsm7fjdm463hq4k1xwm1kmjq3rbivxyx5s2zmzbbxwjqqsmimhx";
}
else
pkgs.fetchurl {
url = "https:/purescript/purescript/releases/download/${version}/linux64.tar.gz";
sha256 = "11y6bsscm0qcn6y619qvgfyxb9mzpd3pk7gqd024a91ipxr5gj4w";
};

in
import ./mkPursDerivation.nix {
inherit pkgs version src;
}