Revision 52ec180be8cb2f20a702e86f1e5eea9070e9e67d authored by Arvid Jakobsson on 10 January 2024, 15:32:06 UTC, committed by Arvid Jakobsson on 19 January 2024, 08:43:06 UTC
We prefer separate files per job.
1 parent b39218a
Raw File
opam-repo.nix
{runCommand}: let
  opam-repository-rev = builtins.readFile (
    runCommand
    "opam-repo-rev"
    {
      src = ../scripts/version.sh;
    }
    ''
      . $src
      echo -n $full_opam_repository_tag > $out
    ''
  );
in
  fetchTarball "https://github.com/ocaml/opam-repository/archive/${opam-repository-rev}.tar.gz"
back to top