Skip to content

Commit becf0c1

Browse files
committed
Nixify hackage-to-nix output
1 parent a354f61 commit becf0c1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

flake.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
flake-utils = { url = "github:numtide/flake-utils"; };
1212
hydra.url = "hydra";
1313
hackage = {
14-
url = "github:input-output-hk/hackage.nix";
14+
url = "github:input-output-hk/hackage.nix/hkm/nixify";
1515
flake = false;
1616
};
1717
stackage = {

modules/hackage.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ let
4545
inherit (version) sha256;
4646
revision = rev.revNum;
4747
revisionSha256 = rev.sha256;
48-
} // import rev modArgs;
48+
} // (rev.nix or (import rev)) modArgs;
4949
f = rev: acc: acc // {
5050
# If there's a collision (e.g. a revision was
5151
# reverted), pick the one with the smaller

0 commit comments

Comments
 (0)