Skip to content

Commit

Permalink
haskell-overlays: patch -> 0.0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-abrar committed Apr 20, 2021
1 parent 78447cf commit 6c26364
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This project's release branch is `master`. This log is written from the perspective of the release branch: when changes hit `master`, they are considered released.

## Unreleased

* Bump
* patch to 0.0.4.0

## v0.7.1.0

* Bump
Expand Down
2 changes: 1 addition & 1 deletion haskell-overlays/reflex-packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ in

haskell-gi-overloading = dontHaddock (self.callHackage "haskell-gi-overloading" "0.0" {});
monoidal-containers = self.callHackage "monoidal-containers" "0.6.0.1" {};
patch = self.callHackage "patch" "0.0.3.2" {};
patch = self.callCabal2nix "patch" self._dep.patch {};

webdriver = self.callHackage "webdriver" "0.9.0.1" {};

Expand Down
2 changes: 2 additions & 0 deletions haskell-overlays/reflex-packages/dep/patch/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# DO NOT HAND-EDIT THIS FILE
import (import ./thunk.nix)
8 changes: 8 additions & 0 deletions haskell-overlays/reflex-packages/dep/patch/github.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"owner": "reflex-frp",
"repo": "patch",
"branch": "release/0.0.4.0",
"private": false,
"rev": "68cf321722b9992bcb402166e833ff4c6088143d",
"sha256": "17zpzxsb3pb4n3xl8lha8jh0bs7m97fpcjp7wlsg390kzjls4kgy"
}
9 changes: 9 additions & 0 deletions haskell-overlays/reflex-packages/dep/patch/thunk.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# DO NOT HAND-EDIT THIS FILE
let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256, ... }:
if !fetchSubmodules && !private then builtins.fetchTarball {
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; inherit sha256;
} else (import <nixpkgs> {}).fetchFromGitHub {
inherit owner repo rev sha256 fetchSubmodules private;
};
json = builtins.fromJSON (builtins.readFile ./github.json);
in fetch json

0 comments on commit 6c26364

Please sign in to comment.