~rjpcasalino/bss

8d96d12f055f5d3eb32438a425aff4c864bd7e34 — Ryan J.P. Casalino 8 months ago 6d88d14
this uses syslink to put bss in  bin
1 files changed, 2 insertions(+), 0 deletions(-)

M flake.nix
M flake.nix => flake.nix +2 -0
@@ 24,8 24,10 @@
         makeWrapper
       ] ++ lib.optionals stdenv.isDarwin [ shortenPerlShebang ];
        postInstall = ''
          mkdir -p $out/bin
          ${if stdenv.isDarwin then "shortenPerlShebang $out/lib/perl5/site_perl/${perl.version}/bss.pl" else ""}
          wrapProgram $out/lib/perl5/site_perl/${perl.version}/bss.pl --prefix PATH : ${lib.makeBinPath[ rsync ]}
          ln -fs $out/lib/perl5/site_perl/${perl.version}/bss.pl $out/bin/bss
        '';
      };
    in {