Skip to content

Commit 7d15f3c

Browse files
committed
Use lazy-inputs to load libffi-wasm
1 parent a9e2d7e commit 7d15f3c

File tree

5 files changed

+42
-23
lines changed

5 files changed

+42
-23
lines changed

flake.lock

-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@
6565
url = "github:stable-haskell/iserv-proxy?ref=iserv-syms";
6666
flake = false;
6767
};
68-
libffi-wasm = {
69-
url = "gitlab:haskell-wasm/libffi-wasm?host=gitlab.haskell.org";
70-
flake = false;
71-
};
7268
};
7369

7470
outputs =

lazy-inputs/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ in {
4141
inherit ((callFlake { pkgs = final; src = ./ghc9122; }).defaultNix) ghc9122;
4242
inherit ((callFlake { pkgs = final; src = ./ghc912X; }).defaultNix) ghc912X;
4343
inherit ((callFlake { pkgs = final; src = ./ghc913; }).defaultNix) ghc913;
44+
inherit ((callFlake { pkgs = final; src = ./libffi-wasm; }).defaultNix) libffi-wasm;
4445
} // prev.haskell-nix.sources;
4546
};
4647
}

lazy-inputs/libffi-wasm/flake.lock

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazy-inputs/libffi-wasm/flake.nix

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
description = "Lazy Input for Haskell.nix";
3+
4+
inputs = {
5+
libffi-wasm = {
6+
flake = false;
7+
url = "gitlab:haskell-wasm/libffi-wasm?host=gitlab.haskell.org";
8+
};
9+
};
10+
11+
outputs = inputs: inputs;
12+
}

0 commit comments

Comments
 (0)