diff options
Diffstat (limited to 'flake.nix')
| -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 ''; }; |
