Skip to content

Commit 5a96dd3

Browse files
authored
Merge pull request #25 from reflex-frp/bump-r-p-for-testing
Bump reflex-platform
2 parents 3facdd7 + 2c5acd9 commit 5a96dd3

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

dep/reflex-platform/default.nix

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
# DO NOT HAND-EDIT THIS FILE
2-
import ((import <nixpkgs> {}).fetchFromGitHub (
3-
let json = builtins.fromJSON (builtins.readFile ./github.json);
4-
in { inherit (json) owner repo rev sha256;
5-
private = json.private or false;
6-
}
7-
))
2+
import (import ./thunk.nix)

dep/reflex-platform/github.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"owner": "reflex-frp",
33
"repo": "reflex-platform",
44
"branch": "master",
5-
"rev": "8de0583758baddf987588d13df3adc4c6564c504",
6-
"sha256": "06x2q8q5v8cq8c1gw54a7lb8vbqnkmy494vx7n96ab907p1k90j5"
5+
"private": false,
6+
"rev": "e8e56516b1df0c6e7024bc0e690f54fcddf79a19",
7+
"sha256": "0xb2hdps7bsyd6y84if3317w9fbcpcjh4whrvrhz6mskcw069xjp"
78
}

dep/reflex-platform/thunk.nix

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# DO NOT HAND-EDIT THIS FILE
2+
let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256, ... }:
3+
if !fetchSubmodules && !private then builtins.fetchTarball {
4+
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; inherit sha256;
5+
} else (import <nixpkgs> {}).fetchFromGitHub {
6+
inherit owner repo rev sha256 fetchSubmodules private;
7+
};
8+
json = builtins.fromJSON (builtins.readFile ./github.json);
9+
in fetch json

0 commit comments

Comments
 (0)