update easy-purescirpt-nix dependency

mostly need to stop assuming i can actually build against latest
purescript, because nothing is stable
This commit is contained in:
justinwoo 2021-05-08 13:12:35 +00:00
parent 08c9997a0a
commit 3339d19826
4 changed files with 66 additions and 63 deletions

View File

@ -5,8 +5,8 @@ let
pkgs.fetchFromGitHub {
owner = "justinwoo";
repo = "easy-purescript-nix";
rev = "cc7196bff3fdb5957aabfe22c3fa88267047fe88";
sha256 = "1xfl7rnmmcm8qdlsfn3xjv91my6lirs5ysy01bmyblsl10y2z9iw";
rev = "e00a54ca6bd0290e8301eff140d109c1f300e40d";
sha256 = "1yrnnpxkzs59ik5dj9v67ysn4viff775v24kizpl0ylf24c74928";
}
) {
inherit pkgs;
@ -20,5 +20,5 @@ in
spago2nix.mkBuildProjectOutput {
src = ./src;
purs = easy-ps.purs;
purs = easy-ps.purs-0_13_8;
}

15
ci.nix
View File

@ -1,12 +1,12 @@
{ pkgs ? import <nixpkgs> {} }:
{ pkgs ? import <nixpkgs> { } }:
let
easy-ps = import (
easy-ps = import
(
pkgs.fetchFromGitHub {
owner = "justinwoo";
repo = "easy-purescript-nix";
rev = "cc7196bff3fdb5957aabfe22c3fa88267047fe88";
sha256 = "1xfl7rnmmcm8qdlsfn3xjv91my6lirs5ysy01bmyblsl10y2z9iw";
rev = "e00a54ca6bd0290e8301eff140d109c1f300e40d";
sha256 = "1yrnnpxkzs59ik5dj9v67ysn4viff775v24kizpl0ylf24c74928";
}
) {
inherit pkgs;
@ -18,5 +18,8 @@ let
in
pkgs.mkShell {
buildInputs = [ easy-ps.purs spago2nix ];
buildInputs = [
easy-ps.purs-0_13_8
spago2nix
];
}

View File

@ -11,25 +11,25 @@ let
};
in
{ pkgs ? import <nixpkgs> {}
{ pkgs ? import <nixpkgs> { }
, dhall-json ? (easy-dhall-nix pkgs).dhall-json-simple
, nodejs ? pkgs.nodejs-10_x
}:
let
easy-purescript-nix = import (
let
easy-purescript-nix = import
(
pkgs.fetchFromGitHub {
owner = "justinwoo";
repo = "easy-purescript-nix";
rev = "1ec689df0adf8e8ada7fcfcb513876307ea34226";
sha256 = "12hk2zbjkrq2i5fs6xb3x254lnhm9fzkcxph0a7ngxyzfykvf4hi";
rev = "e00a54ca6bd0290e8301eff140d109c1f300e40d";
sha256 = "1yrnnpxkzs59ik5dj9v67ysn4viff775v24kizpl0ylf24c74928";
}
) {
inherit pkgs;
};
in
pkgs.stdenv.mkDerivation {
in
pkgs.stdenv.mkDerivation {
name = "spago2nix";
src = pkgs.nix-gitignore.gitignoreSource [ ".git" ] ./.;
@ -53,4 +53,4 @@ in
dhall-json
]}
'';
}
}

View File

@ -4,26 +4,26 @@
# nix-shell mkbin.nix
#
{ pkgs ? import <nixpkgs> {}
{ pkgs ? import <nixpkgs> { }
, nodejs ? pkgs.nodejs-10_x
}:
let
easy-purescript-nix = import (
let
easy-purescript-nix = import
(
pkgs.fetchFromGitHub {
owner = "justinwoo";
repo = "easy-purescript-nix";
rev = "1ec689df0adf8e8ada7fcfcb513876307ea34226";
sha256 = "12hk2zbjkrq2i5fs6xb3x254lnhm9fzkcxph0a7ngxyzfykvf4hi";
rev = "e00a54ca6bd0290e8301eff140d109c1f300e40d";
sha256 = "1yrnnpxkzs59ik5dj9v67ysn4viff775v24kizpl0ylf24c74928";
}
) {
inherit pkgs;
};
in
pkgs.mkShell {
in
pkgs.mkShell {
nativeBuildInputs = [
easy-purescript-nix.purs
easy-purescript-nix.purs-0_13_8
easy-purescript-nix.spago
nodejs
];
@ -32,4 +32,4 @@
npm run mkbin
exit 0
'';
}
}