Skip to content

Commit 45b3675

Browse files
committed
Update flake
1 parent 2b29230 commit 45b3675

File tree

2 files changed

+75
-2
lines changed

2 files changed

+75
-2
lines changed

flake.lock

Lines changed: 70 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@
44
inputs = {
55
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
66
flake-utils.url = "github:numtide/flake-utils";
7+
yesod-csp-nix.url = "github:pSub/yesod-csp";
78
};
89

910
outputs =
1011
{
1112
self,
1213
nixpkgs,
1314
flake-utils,
15+
yesod-csp-nix
1416
}:
1517
flake-utils.lib.eachDefaultSystem (
1618
system:
1719
let
1820
pkgs = import nixpkgs { inherit system; };
1921
in
2022
{
21-
packages.homepage = pkgs.callPackage ./default.nix { nixpkgs = pkgs; };
23+
packages.homepage = nixpkgs.pkgs.haskell.packages.ghc910.callPackage ./homepage.nix {
24+
yesod-csp = yesod-csp-nix.packages.${system}.yesod-csp;
25+
};
2226
}
2327
);
2428
}

0 commit comments

Comments
 (0)