Skip to content

How to update the repo for myrtle packages #21

@Rowan-Mather

Description

@Rowan-Mather
  1. Find nix/overlays/external.nix
  2. Find the section below
  3. Commit your update to github and copy the revision number of the commit.
  4. Copy it into rev
  5. Make sure it references the correct branch
  6. ~/Documents/myrtlepackages/myrtlepkgs/pkgs/onnx-graph$ nix-shell
  7. ghci -isrc test/Test/OnnxGraphSpec.hs to run
  8. Test with hspec spec

Notes

  • onnx-graph/src/OnnxGraph/Execute.hs contains the code to be updated for Numskull
  • onnx-graph.cabal contains numskull
  • test/Test/Onnx-Graph-Spec.hs contains THE TEST

NB: you can also provide srcOnly with just the directory but this is less reliable.

numskull = dontCheck (doJailbreak (haskellPackageGen { }
  (myrtlepkgs.nixpkgs.srcOnly {
    name = "numskull";
    src = builtins.fetchGit {
      url = "ssh://git@github.com/MyrtleSoftware/rowan-ndarray";
      ref = "broadcasting";
      rev = "85e10d2185a210202cabce8911c299d39526c1ed";
    };
})));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions