summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
'';
};