diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -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 {}; }); }; |
