summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/flake.nix b/flake.nix
index b3ac2b2..66caa92 100644
--- a/flake.nix
+++ b/flake.nix
@@ -4,18 +4,12 @@
nixpkgs.url = "github:nixos/nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
systems.url = "github:nix-systems/default";
- haskell-flake.url = "github:srid/haskell-flake";
- # flake-utils.url = "github:numtide/flake-utils";
- # nix-filter.url = "github:numtide/nix-filter";
+ nix-filter.url = "github:numtide/nix-filter";
};
outputs = inputs@{self, flake-parts, nixpkgs, ... }: flake-parts.lib.mkFlake { inherit self inputs; } {
systems = import inputs.systems;
- imports = [
- inputs.haskell-flake.flakeModule
- ];
-
flake.lib = {
rubberWith = { pkgs, texPath }: pkgs.symlinkJoin rec {
name = "rubber";
@@ -51,7 +45,9 @@
flake.overlays.default = final: prev: {
haskellPackages = prev.haskellPackages.extend (hfinal: _hprev: {
- www-main = hfinal.callCabal2nix "www-main" ./. {};
+ www-main = let
+ src = ./.;
+ in hfinal.callCabal2nix "www-main" src {};
});
};