M default.nix => default.nix +5 -1
@@ 6,6 6,10 @@ let
};
inputs = rec {
+ purs-0_14_5 = import ./purs/0.14.5.nix {
+ inherit pkgs;
+ };
+
purs-0_14_4 = import ./purs/0.14.4.nix {
inherit pkgs;
};
@@ 54,7 58,7 @@ let
inherit pkgs;
};
- purs = purs-0_14_4;
+ purs = purs-0_14_5;
purs-simple = purs;
A purs/0.14.5.nix => purs/0.14.5.nix +23 -0
@@ 0,0 1,23 @@
+{ pkgs ? import <nixpkgs> { } }:
+
+let
+ version = "v0.14.5";
+
+ src =
+ if pkgs.stdenv.isDarwin
+ then
+ pkgs.fetchurl
+ {
+ url = "https://github.com/purescript/purescript/releases/download/${version}/macos.tar.gz";
+ sha256 = "1brvbpzr3cwls809fl0sjrm9cbh8v7maf5d7ic2mha0xapabgfpv";
+ }
+ else
+ pkgs.fetchurl {
+ url = "https://github.com/purescript/purescript/releases/download/${version}/linux64.tar.gz";
+ sha256 = "1mvxvn30iyrq0ck6g08f925gxnnhbfgl29b2gjjsmm3m9mpll7ws";
+ };
+
+in
+import ./mkPursDerivation.nix {
+ inherit pkgs version src;
+}