summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2026-02-09 10:11:38 -0600
committerChris Wells <chris@mathematicaster.org>2026-02-09 10:11:38 -0600
commit662ce33a6a933d2800724763b92490ad6124e1ff (patch)
tree2fc9cdedaa5234d7548bd6370beaa5561ea21223 /flake.nix
parent685e9f8469c12a38f2d32d4468ff575ad78f1386 (diff)
downloadmain-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
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files 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
'';
};