From 662ce33a6a933d2800724763b92490ad6124e1ff Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Mon, 9 Feb 2026 10:11:38 -0600 Subject: Trying to fix hakyllWith --- flake.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 98c8949..4c34558 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ systems = import inputs.systems; flake.lib = { - rubberWith = { pkgs, texPath }: pkgs.symlinkJoin rec { + rubberWith = { pkgs, texPath }: pkgs.symlinkJoin { name = "rubber"; nativeBuildInputs = [ pkgs.makeWrapper @@ -38,11 +38,12 @@ ]; paths = [ (pkgs.haskell.lib.compose.justStaticExecutables site) - pkgs.rsync - ] ++ paths ++ pkgs.lib.optional (texPath != null) (self.lib.rubberWith { inherit pkgs texPath; }); + ]; + # pkgs.rsync + # ] ++ paths ++ pkgs.lib.optional (texPath != null) (self.lib.rubberWith { inherit pkgs texPath; }); postBuild = '' for x in $out/bin/*; do - wrapProgram "$x" --prefix PATH : ${pkgs.lib.makeBinPath paths} + wrapProgram "$x" --prefix PATH : ${pkgs.lib.makeBinPath (paths ++ pkgs.lib.optional (texPath != null) (self.lib.rubberWith { inherit pkgs texPath; }))} done ''; }; -- cgit v1.2.3