diff options
| author | Chris Wells <chris@mathematicaster.org> | 2026-02-09 10:11:38 -0600 |
|---|---|---|
| committer | Chris Wells <chris@mathematicaster.org> | 2026-02-09 10:11:38 -0600 |
| commit | 662ce33a6a933d2800724763b92490ad6124e1ff (patch) | |
| tree | 2fc9cdedaa5234d7548bd6370beaa5561ea21223 | |
| parent | 685e9f8469c12a38f2d32d4468ff575ad78f1386 (diff) | |
| download | main-662ce33a6a933d2800724763b92490ad6124e1ff.tar main-662ce33a6a933d2800724763b92490ad6124e1ff.tar.gz main-662ce33a6a933d2800724763b92490ad6124e1ff.tar.bz2 main-662ce33a6a933d2800724763b92490ad6124e1ff.tar.lz main-662ce33a6a933d2800724763b92490ad6124e1ff.tar.xz main-662ce33a6a933d2800724763b92490ad6124e1ff.tar.zst main-662ce33a6a933d2800724763b92490ad6124e1ff.zip | |
Trying to fix hakyllWith
| -rw-r--r-- | flake.nix | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 ''; }; |
