From b88fa3d09a14455d82e7f0a0601c2654331e9909 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Fri, 30 Jan 2026 09:32:54 -0600 Subject: Updated data --- flake.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'flake.nix') 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 {}; }); }; -- cgit v1.2.3