Unverified Commit c973975a authored by James Conroy-Finn's avatar James Conroy-Finn
Browse files

babashka: Remove superfluous removal of references

parent 56aedbd4
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
{ lib
, buildGraalvmNativeImage
, graalvmCEPackages
, removeReferencesTo
, fetchurl
, writeScript
, installShellFiles
@@ -21,7 +20,7 @@ let

    executable = "bb";

    nativeBuildInputs = [ removeReferencesTo installShellFiles ];
    nativeBuildInputs = [ installShellFiles ];

    extraNativeImageBuildArgs = [
      "-H:+ReportExceptionStackTraces"
@@ -39,11 +38,7 @@ let
      $out/bin/bb '(prn "bépo àê")' | fgrep 'bépo àê'
    '';

    # As of v1.2.174, this will remove references to ${graalvmDrv}/conf/chronology,
    # not sure the implications of this but this file is not available in
    # graalvm-ce anyway.
    postInstall = ''
      remove-references-to -t ${graalvmDrv} $out/bin/${executable}
      installShellCompletion --cmd bb --bash ${./completions/bb.bash}
      installShellCompletion --cmd bb --zsh ${./completions/bb.zsh}
      installShellCompletion --cmd bb --fish ${./completions/bb.fish}